Live threats

All CVEs / Codeclysm

CVE-2024-47877Codeclysm Extract

Medium 6.9 No auth needed

Priority
56
CVSS 4.0
6.9
EPSS
0.8%
probability of exploitation in 30 days · percentile 53
Auth required
No
Published
Oct 11, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22, CWE-61
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Extract.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/codeclysm/extract ≤ 2.2.0 no fixed version —
Go github.com/codeclysm/extract all no fixed version —
Go github.com/codeclysm/extract/v3 ≤ 3.1.1 no fixed version —
Go github.com/codeclysm/extract/v3 all no fixed version —
Go github.com/codeclysm/extract/v4 < 4.0.0 4.0.0 go get github.com/codeclysm/extract/v4@v4.0.0
Go github.com/codeclysm/extract/v4 < 4.0.0 4.0.0 go get github.com/codeclysm/extract/v4@v4.0.0

Per OSV / GitHub Advisories (GHSA-8rm2-93mq-jqhc, GO-2024-3196). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
codeclysmextract< 4.0.0

Official sources

References

Links published by the sources. Open them with care.