CVE-2022-44900
A directory traversal vulnerability in the SevenZipFile.extractall() f ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | py7zr | 0.20.1 |
| debian 11 | py7zr | 0.11.3+dfsg-1+deb11u1 |
| debian 12 | py7zr | 0.11.3+dfsg-5 |
| debian 13 | py7zr | 0.11.3+dfsg-5 |
| debian 14 | py7zr | 0.11.3+dfsg-5 |
| echo | py7zr | 0.11.3+dfsg-5 |
| ubuntu 22.04 | py7zr | 0.11.3+dfsg-4ubuntu0.1 |
References
- 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/miurahr/py7zr
- https://github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406
- https://github.com/pypa/advisory-database/tree/main/vulns/py7zr/PYSEC-2022-42998.yaml
- https://lessonsec.com/cve/cve-2022-44900
- https://lessonsec.com/cve/cve-2022-44900/
- https://nvd.nist.gov/vuln/detail/CVE-2022-44900