CVE-2024-47877GO-2024-3196GHSA-8RM2-93MQ-JQHC
Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.0.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: yes
- Technical impact: partial
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- codeclysm extract
fixed in 4.0.0
- github.com/codeclysm/extractGo
All versions
- github.com/codeclysm/extract/v3Go
All versions
- github.com/codeclysm/extract/v4Go
fixed in 4.0.0
- github.com/codeclysm/extract/v3Go
through 3.1.1
- github.com/codeclysm/extractGo
through 2.2.0