CVE-2024-55587
HIGH 8.8CVSS 3.1python-libarchive directory traversal
python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.
- Published
- 12 Dec 2024
- Last modified
- 7 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-75mx-hw5q-pvx3PYSEC-2026-1848
- Sources
- NVDJSONOSV GHSA-75mx-hw5q-pvx3JSONOSV PYSEC-2026-1848JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | python-libarchive | <= 4.2.1 |
References
- https://github.com/smartfile/python-libarchive/blob/c7677411bfc4ab5701d343bc6ebd9e35c990e80e/libarchive/zip.py#L107 · WEB
- https://github.com/smartfile/python-libarchive/issues/42 · WEB
- https://github.com/smartfile/python-libarchive/pull/41 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-55587 · ADVISORY
- https://github.com/smartfile/python-libarchive · PACKAGE
- https://pypi.org/project/python-libarchive · PACKAGE
- https://github.com/advisories/GHSA-75mx-hw5q-pvx3 · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 12 Dec 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Dec 2024)