cve.bz

CVE-2024-47877

6.9 mediumEPSS 0.5%

Medium (6.9) in codeclysm extract. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in github.com/codeclysm/extract/v4 4.0.0.

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.

Severity

CVSS 4.0

6.9 medium
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.5% chance of exploitation in the next 30 days; higher than 45% of CVEs (scores of 2026-10-31)
CWEs
CWE-22, CWE-61
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8rm2-93mq-jqhcGogithub.com/codeclysm/extract/v3<=3.1.1no fix published
GHSA-8rm2-93mq-jqhcGogithub.com/codeclysm/extract/v4<4.0.04.0.0
GHSA-8rm2-93mq-jqhcGogithub.com/codeclysm/extract<=2.2.0no fix published
GO-2024-3196Gogithub.com/codeclysm/extractall versionsno fix published
GO-2024-3196Gogithub.com/codeclysm/extract/v3all versionsno fix published
GO-2024-3196Gogithub.com/codeclysm/extract/v4<4.0.04.0.0

References

Check your stackJSON