{"id":"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.","aliases":["GHSA-8rm2-93mq-jqhc","GO-2024-3196"],"modified":"2026-04-11T12:47:08.240344Z","published":"2024-10-11T16:36:29.763Z","related":["SUSE-SU-2024:3911-1","openSUSE-SU-2024:0350-1","openSUSE-SU-2024:14447-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-61"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47877.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/codeclysm/extract","events":[{"introduced":"0"},{"fixed":"eaeff3236ebe82039553f39bc285ee5c79caae3c"}]}],"versions":["v1","v1.0.1","v1.1.0","v1.1.1","v2.0.0","v2.1.0","v2.1.1","v2.2.0","v3.0.0","v3.0.1","v3.0.2","v3.1.0","v3.1.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47877.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}