{"id":"CVE-2024-47877","aliases":["GHSA-8rm2-93mq-jqhc","GO-2024-3196"],"url":"https://o3.security/vulnerability/CVE-2024-47877","summary":"Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory.","details":"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.","published":"2024-10-11T16:36:29.763Z","modified":"2026-07-15T01:49:00.194285558Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/codeclysm/extract/v3","fixedVersion":null},{"ecosystem":"Go","name":"github.com/codeclysm/extract/v4","fixedVersion":"4.0.0"},{"ecosystem":"Go","name":"github.com/codeclysm/extract","fixedVersion":null}],"fix":{"url":"https://github.com/codeclysm/extract/commit/4a98568021b8e289345c7f526ccbd7ed732cf286","label":"codeclysm/extract@4a98568"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47877.json"},{"type":"ADVISORY","url":"https://github.com/codeclysm/extract/security/advisories/GHSA-8rm2-93mq-jqhc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47877"},{"type":"FIX","url":"https://github.com/codeclysm/extract/commit/4a98568021b8e289345c7f526ccbd7ed732cf286"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:00.194285558Z"}}