CVE-2024-47877: Extract is aA Go library to extract archives in zip, tar.gz or tar.bz2 formats
CVE-2024-47877 is a high-severity flaw (CVSS 7.5) affecting extract. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-47877?
extract: upgrade to 4.0.0. Exact commands for each OS are on this page.
Is CVE-2024-47877 being exploited?
CVE-2024-47877 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-47877 affect?
CVE-2024-47877 affects extract. Severity is high (CVSS 7.5). 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
How urgent is CVE-2024-47877?
Priority 43/100. High severity; Remotely exploitable, no login, no user action