PT-2024-36562 · Unknown · Python-Libarchive

·

CVE-2024-55587

·

Published

2024-12-11

·

Updated

2026-07-07

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions python-libarchive versions 4.2.1 and earlier
Description The issue allows directory traversal, enabling the creation of files in extract in zip.py for ZipFile.extractall and ZipFile.extract functions. This can be exploited to create files outside the intended directory.
Recommendations For python-libarchive versions 4.2.1 and earlier, consider updating to a version that contains a fix for this issue. As a temporary workaround, restrict the use of the ZipFile.extractall and ZipFile.extract functions until a patch is available. Avoid using these functions with untrusted zip files to minimize the risk of exploitation.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-55587
GHSA-75MX-HW5Q-PVX3
PYSEC-2026-1848

Affected Products

Python-Libarchive