miurahr/py7zr · Security
py7zr directory traversal vulnerability
- GHSA ID
- GHSA-m8xw-9x5x-6vh3
- CVE ID
- CVE-2022-44900
- Severity
- critical
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CVSS v4
- 9.3 · 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
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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-44900 ↗
- https://github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406 ↗
- http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html ↗
- https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-m8xw-9x5x-6vh3 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/py7zr/PYSEC-2022-42998.yaml ↗
- https://lessonsec.com/cve/cve-2022-44900 ↗
- https://github.com/advisories/GHSA-m8xw-9x5x-6vh3 ↗