CVE-2022-44900 json
py7zr directory traversal vulnerability
published 2022-12-06 3 y ago modified 2026-06-17 4 mo ago also GHSA-m8xw-9x5x-6vh3 , PYSEC-2022-42998 , EUVD-2022-0208
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi py7zr 0.20.1
- py7zr_project py7zr 0.20.1
- py7zr Debian 14, Debian 13, Debian 12 0.11.3+dfsg-5
debian advisories DEBIAN-CVE-2022-44900
- py7zr Ubuntu 22.04 LTS 0.11.3+dfsg-4ubuntu0.1
ubuntu advisories UBUNTU-CVE-2022-44900
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-py7zr openSUSE Tumbleweed 0.20.8-2.6
opensuse advisories openSUSE-SU-2025:15101-1
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
2.44% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- packetstormsecurity.com http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html referenced PoC, tagged "exploit" by a source, unverified
- lessonsec.com https://lessonsec.com/cve/cve-2022-44900/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | py7zr | <0.20.1 |
0.20.1 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406
web, patch, third-party-advisory
-
packetstormsecurity.com
/files/170127/py7zr-0.20.0-Directory-Traversal.html
web, exploit, third-party-advisory, vdb-entry, evidence, advisory
-
lessonsec.com
/cve/cve-2022-44900/
exploit, third-party-advisory, evidence, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-44900
advisory
-
advisory-inbox.githubapp.com
/advisory_reviews/GHSA-m8xw-9x5x-6vh3
web
-
github.com
/miurahr/py7zr
package
-
github.com
/pypa/advisory-database/tree/main/vulns/py7zr/PYSEC-2022-42998.yaml
web
-
lessonsec.com
/cve/cve-2022-44900
web
-
github.com
/advisories/GHSA-m8xw-9x5x-6vh3
advisory
Sources
- CVE List CVE-2022-44900
- GitHub Advisory GHSA-m8xw-9x5x-6vh3
- NVD CVE-2022-44900
- OSV PYSEC-2022-42998
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.