CVE-2024-55587
HIGHpython-libarchive through 4.2.1 - Path Traversal via ZipFile.extract and ZipFile.extractall
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-55587. PoCs published by CSIRTTrizna.
AI-analyzed exploit summary This PoC demonstrates a path traversal vulnerability in the libarchive Python library (CVE-2024-55587) by generating a malicious ZIP file that writes to an arbitrary location (/tmp/vulnerable.txt) during extraction. The vulnerable_unzip.py script simulates the unsafe extraction behavior.
Description
python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.
Exploits (1)
This PoC demonstrates a path traversal vulnerability in the libarchive Python library (CVE-2024-55587) by generating a malicious ZIP file that writes to an arbitrary location (/tmp/vulnerable.txt) during extraction. The vulnerable_unzip.py script simulates the unsafe extraction behavior.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H