Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. python-libarchive
  4. ›
  5. CVE-2024-55587

CVE-2024-55587: python-libarchive directory traversal

December 12, 2024

python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.

References

  • github.com/advisories/GHSA-75mx-hw5q-pvx3
  • github.com/smartfile/python-libarchive
  • github.com/smartfile/python-libarchive/blob/c7677411bfc4ab5701d343bc6ebd9e35c990e80e/libarchive/zip.py
  • github.com/smartfile/python-libarchive/issues/42
  • github.com/smartfile/python-libarchive/pull/41
  • nvd.nist.gov/vuln/detail/CVE-2024-55587

Code Behaviors & Features

Detect and mitigate CVE-2024-55587 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 4.2.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/python-libarchive/CVE-2024-55587.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:45 +0000.