Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
Extract is aA Go library to extract archives in zip, tar.gz or tar.bz2 formats. A maliciously crafted archive may allow an attacker to create a symlink outside the extraction target directory. This vulnerability is fixed in 4.0.0. If you're using the Extractor.FS interface, then upgrading to /v4 will require to implement the new methods that have been added.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| codeclysm | extract | before 4.0.0 | 4.0.0 | Patch available | CNA |
| — | github.com/codeclysm/extract/v3 (Go) | up to 3.1.1 | — | No fix listed | GHSA-8rm2-93mq-jqhc |
| — | github.com/codeclysm/extract/v4 (Go) | before 4.0.0 | 4.0.0 | Patch available | GHSA-8rm2-93mq-jqhc |
| — | github.com/codeclysm/extract (Go) | up to 2.2.0 | — | No fix listed | GHSA-8rm2-93mq-jqhc |
- extract Vendorcodeclysm Affected before 4.0.0 Fixed in 4.0.0 Patch available CNA
- github.com/codeclysm/extract/v3 (Go) Vendor— Affected up to 3.1.1 Fixed in — No fix listed GHSA-8rm2-93mq-jqhc
- github.com/codeclysm/extract/v4 (Go) Vendor— Affected before 4.0.0 Fixed in 4.0.0 Patch available GHSA-8rm2-93mq-jqhc
- github.com/codeclysm/extract (Go) Vendor— Affected up to 2.2.0 Fixed in — No fix listed GHSA-8rm2-93mq-jqhc
Remediation
- Fix · CNA extract (codeclysm) Fixed in 4.0.0
- Fix · GHSA-8rm2-93mq-jqhc github.com/codeclysm/extract/v4 (Go) Fixed in 4.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-47877
- 2026-10-03 Alias added: GHSA-8rm2-93mq-jqhc
References
Sources
- CVE-2024-47877 · CVE Program
- CVE-2024-47877 · NVD
- FIRST EPSS
- GHSA-8rm2-93mq-jqhc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences