Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. py7zr
  4. ›
  5. CVE-2022-44900

CVE-2022-44900: py7zr directory traversal vulnerability

December 6, 2022 (updated October 18, 2024)

A directory traversal vulnerability in the SevenZipFile.extractall() function of the python library py7zr v0.20.0 and earlier allows attackers to write arbitrary files via extracting a crafted 7z file.

References

  • advisory-inbox.githubapp.com/advisory_reviews/GHSA-m8xw-9x5x-6vh3
  • github.com/advisories/GHSA-m8xw-9x5x-6vh3
  • github.com/miurahr/py7zr
  • github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406
  • github.com/pypa/advisory-database/tree/main/vulns/py7zr/PYSEC-2022-42998.yaml
  • lessonsec.com/cve/cve-2022-44900
  • nvd.nist.gov/vuln/detail/CVE-2022-44900

Code Behaviors & Features

Detect and mitigate CVE-2022-44900 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.20.1

Fixed versions

  • 0.20.1

Solution

Upgrade to version 0.20.1 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

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

Source file

pypi/py7zr/CVE-2022-44900.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:48 +0000.