Affected versions
Version ranges need review.
- Affected versions
- <=4.2.1 || =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
- Fixed version
- Not reported
- Affected versions
- <= 4.2.1
- Fixed version
- Not reported
Exploitation
Description
python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.
Links
- https://github.com/advisories/GHSA-75mx-hw5q-pvx3
- https://github.com/smartfile/python-libarchive
- https://github.com/smartfile/python-libarchive/blob/c7677411bfc4ab5701d343bc6ebd9e35c990e80e/libarchive/zip.py#L107
- https://github.com/smartfile/python-libarchive/issues/42
- https://github.com/smartfile/python-libarchive/pull/41
- https://nvd.nist.gov/vuln/detail/CVE-2024-55587
- https://pypi.org/project/python-libarchive

