CVE-2024-47877
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2024-10-11
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.5 %
higher than 43 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Codeclysm | Extract | < 4.0.0 | Affected |
| github.com/codeclysm | extract (Go) | ≤ 2.2.0 | Affected |
| github.com/codeclysm/extract | v3 (Go) | ≤ 3.1.1 | Affected |
| github.com/codeclysm/extract | v4 (Go) | < 4.0.0 | Affected |
Weakness type
-
CWE-22: Improper Limitation of a Pathname to a Restricted Directory
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…
-
CWE-61: UNIX Symbolic Link (Symlink) Following
The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause t…
References
- https://github.com/codeclysm/extract/commit/4a98568021b8e289345c7f526ccbd7ed732cf286
- https://github.com/codeclysm/extract/security/advisories/GHSA-8rm2-93mq-jqhc
Related at Berigo
Articles
-
New malware looks up its command server in a Polygon smart contract
Same product
2026-09-26
Blackpoint has found ChainScript, a Node.js remote access trojan spread through fake installers for Spotify, Zoom and Teams. Rather than trusting the…
-
Three of WatchGuard's 27 new flaws can be exploited without logging in
Same product
2026-09-01
WatchGuard has disclosed 27 vulnerabilities in Fireware OS and Dimension, five of them critical. Three can give code execution without authentication…
-
A language model found an attack that forces HAWK to double its keys
Same product
2026-08-24
On 28 July 2026 Anthropic published two cryptanalytic results found with a language model. Neither has practical significance for systems in operatio…
-
A dealer-installed car alarm lets strangers unlock the car
Same product
2026-08-18
Researchers at UC San Diego found that the key to the KARR car alarm is hardcoded and identical across every module. Almost half of the affected owne…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.