Open-source package vulnerability · PyPI
CVE-2024-55587: python-libarchive directory traversal
highCVSS 4.0 8.7 · 3.1 8.8GHSA-75mx-hw5q-pvx3
python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.
Published Dec 12, 2024
Affected packages
python-libarchive
- Ecosystem
- PyPI
- Affected
- <= 4.2.1
- Fixed in
- No patched version yet
- Check
pip show python-libarchive
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-55587
- https://github.com/smartfile/python-libarchive/issues/42
- https://github.com/smartfile/python-libarchive/pull/41
- https://github.com/smartfile/python-libarchive/blob/c7677411bfc4ab5701d343bc6ebd9e35c990e80e/libarchive/zip.py#L107
- https://github.com/advisories/GHSA-75mx-hw5q-pvx3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
