CVE-2024-47877
Codeclysm Extract vulnerability
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.
Affected products
Extract. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Codeclysm Extract runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/codeclysm/extract/security/advisories/GHSA-8rm2-93mq-jqhc · Vendor Advisory
- github.com/codeclysm/extract/commit/4a98568021b8e289345c7f526ccbd7ed732cf286 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-47877
- github.com/advisories/GHSA-8rm2-93mq-jqhc
- nvd.nist.gov/vuln/detail/CVE-2024-47877
- cve.org/CVERecord?id=CVE-2024-47877
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.