CVE-2024-47877 json
Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory.
published 2y ago modified 4mo ago also GHSA-8rm2-93mq-jqhc , GO-2024-3196 , EUVD-2024-2999
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/codeclysm/extract/v4 4.0.0
- codeclysm extract 4.0.0
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 0.0.20241030T212825-150000.1.9.1
suse advisories SUSE-SU-2024:3911-1
- govulncheck-vulndb Package Hub 12 0.0.20241104T154416-5.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20241030T212825-1.1
opensuse advisories openSUSE-SU-2024:0350-1openSUSE-SU-2024:14447-1
Is CVE-2024-47877 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/codeclysm/extract/v3 | <=3.1.1 all versions |
no fix listed |
| go | github.com/codeclysm/extract/v4 | <4.0.0 |
4.0.0 |
| go | github.com/codeclysm/extract | <=2.2.0 all versions |
no fix listed |
Affected products
- codeclysm extract
Classification
References
-
github.com
/codeclysm/extract/commit/4a98568021b8e289345c7f526ccbd7ed732cf286
web, patch
-
github.com
/codeclysm/extract/security/advisories/GHSA-8rm2-93mq-jqhc
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-47877
advisory
-
github.com
/codeclysm/extract
package
Sources
- CVE List CVE-2024-47877
- GitHub Advisory GHSA-8rm2-93mq-jqhc
- NVD CVE-2024-47877
- OSV GO-2024-3196
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.