{"cve":"CVE-2024-47877","nvd":{"published":"2024-10-11T17:15:04.450","modified":"2026-06-17T07:57:54.163","status":"Analyzed","description":"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.","cvss_v4":{"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","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-22","CWE-61"],"references":["https://github.com/codeclysm/extract/commit/4a98568021b8e289345c7f526ccbd7ed732cf286","https://github.com/codeclysm/extract/security/advisories/GHSA-8rm2-93mq-jqhc"],"products":["codeclysm:extract"],"source":"nvd","synced_at":"2026-10-19T21:55:31.737901711+00:00"},"epss":{"cve":"CVE-2024-47877","score":0.00548,"percentile":0.45914,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-8rm2-93mq-jqhc","url":"https://osv.dev/vulnerability/GHSA-8rm2-93mq-jqhc","summary":"Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory.","modified":"2024-10-15T19:53:17Z","packages":[{"ecosystem":"Go","name":"github.com/codeclysm/extract/v3","purl":"pkg:golang/github.com/codeclysm/extract/v3","ranges":["<=3.1.1"],"fixed":[]},{"ecosystem":"Go","name":"github.com/codeclysm/extract/v4","purl":"pkg:golang/github.com/codeclysm/extract/v4","ranges":["<4.0.0"],"fixed":["4.0.0"]},{"ecosystem":"Go","name":"github.com/codeclysm/extract","purl":"pkg:golang/github.com/codeclysm/extract","ranges":["<=2.2.0"],"fixed":[]}]},{"id":"GO-2024-3196","url":"https://osv.dev/vulnerability/GO-2024-3196","summary":"Extract has insufficient checks allowing attacker to create symlinks outside the extraction directory. in github.com/codeclysm/extract","modified":"2026-03-03T04:55:53.051611Z","packages":[{"ecosystem":"Go","name":"github.com/codeclysm/extract","purl":"pkg:golang/github.com/codeclysm/extract","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/codeclysm/extract/v3","purl":"pkg:golang/github.com/codeclysm/extract/v3","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/codeclysm/extract/v4","purl":"pkg:golang/github.com/codeclysm/extract/v4","ranges":["<4.0.0"],"fixed":["4.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}