{"id":"GHSA-75mx-hw5q-pvx3","summary":"python-libarchive directory traversal","details":"python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.","aliases":["CVE-2024-55587","PYSEC-2026-1848"],"modified":"2026-07-07T17:57:09.689523631Z","published":"2024-12-12T03:33:05Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-12-12T19:19:33Z","nvd_published_at":"2024-12-12T02:08:22Z","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55587"},{"type":"WEB","url":"https://github.com/smartfile/python-libarchive/issues/42"},{"type":"WEB","url":"https://github.com/smartfile/python-libarchive/pull/41"},{"type":"PACKAGE","url":"https://github.com/smartfile/python-libarchive"},{"type":"WEB","url":"https://github.com/smartfile/python-libarchive/blob/c7677411bfc4ab5701d343bc6ebd9e35c990e80e/libarchive/zip.py#L107"}],"affected":[{"package":{"name":"python-libarchive","ecosystem":"PyPI","purl":"pkg:pypi/python-libarchive"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.1"}]}],"versions":["3.0.4-5","3.1.2-1","4.0.0.post1","4.0.1.post1","4.1.0.post1","4.1.0.post2","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.2.0","4.2.0b1","4.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-75mx-hw5q-pvx3/GHSA-75mx-hw5q-pvx3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}