CVE-2024-55587 python-libarchive directory traversal
Attackers can exploit directory traversal in python-libarchive to create files outside the intended extraction directory.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-55587?
CVE-2024-55587 is a high-severity path traversal vulnerability in n/a, published on 11 Dec 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.
Weakness: CWE-22
Which versions are affected by CVE-2024-55587?
3 open source packages ship an affected version, including python-libarchive.
| Package | Affected | Fixed in |
|---|---|---|
python-libarchive PyPI | All versions to 4.2.1 | None |
python-libarchive PyPI | All versions to 4.2.1 | None |
python-libarchive PyPI | All versions to 4.2.1 | None |
How do I fix CVE-2024-55587?
No fix has been published for CVE-2024-55587 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-55587 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-55587 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-75mx-hw5q-pvx3, PYSEC-2026-1848.