CVE-2024-55587 json
python-libarchive directory traversal
published 2024-12-11 22 mo ago modified 2026-07-07 4 mo ago also GHSA-75mx-hw5q-pvx3 , PYSEC-2026-1848 , EUVD-2024-3441
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.
Patch / fix
- github.com/smartfile/python-libarchive#41 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 22 mo ago
Exploit prediction
2.10% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | python-libarchive | <=4.2.1 |
no fix listed |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/smartfile/python-libarchive/pull/41
web
-
github.com
/smartfile/python-libarchive/blob/c7677411bfc4ab5701d343bc6ebd9e35c990e80e/libarchive/zip.py#L107
web
-
github.com
/smartfile/python-libarchive/issues/42
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-55587
advisory
-
github.com
/smartfile/python-libarchive
package
-
pypi.org
/project/python-libarchive
package
-
github.com
/advisories/GHSA-75mx-hw5q-pvx3
advisory
Sources
- CVE List CVE-2024-55587
- GitHub Advisory GHSA-75mx-hw5q-pvx3
- NVD CVE-2024-55587
- OSV PYSEC-2026-1848
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.