CVE-2022-44900
9.1critical
py7zr directory traversal vulnerability
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 2.30% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-m8xw-9x5x-6vh3PYSEC-2022-42998
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| py7zr (PyPI) | before 0.20.1, before 1bb43f17515c7f69673a1c88ab9cc72a7bbef406 | GitHub Advisory Database, PyPA Advisory Database |
| py7zr_project py7zr | before 0.20.1 | NVD |
All scores
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de directory traversal en la función SevenZipFile.extractall() de la librería de Python py7zr v0.20.0 y versiones anteriores permite a los atacantes escribir archivos arbitrarios extrayendo un archivo 7z manipulado.
References
| https://github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406 | fix, patch, third-party-advisory, web | |
| http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html | advisory, evidence, exploit, third-party-advisory, vdb-entry, web | |
| https://lessonsec.com/cve/cve-2022-44900/ | evidence, exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-44900 | advisory | |
| https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-m8xw-9x5x-6vh3 | web | |
| https://github.com/miurahr/py7zr | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/py7zr/PYSEC-2022-42998.yaml | web | |
| https://lessonsec.com/cve/cve-2022-44900 | web | |
| https://github.com/advisories/GHSA-m8xw-9x5x-6vh3 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-44900 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m8xw-9x5x-6vh3 changed 2024-10-18 | CC-BY-4.0 |
| NVD | CVE-2022-44900 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2022-42998 changed 2026-06-10 | CC-BY-4.0 |