{"id":"CVE-2022-44900","aliases":["DEBIAN-CVE-2022-44900","DSA-5652-1","EUVD-2022-0208","GHSA-m8xw-9x5x-6vh3","PYSEC-2022-42998","UBUNTU-CVE-2022-44900","USN-7030-1","openSUSE-SU-2024:12586-1","openSUSE-SU-2025:15101-1"],"status":"published","title":"py7zr directory traversal vulnerability","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.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.02303,"percentile":0.83579,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2022-12-06T00:00:00Z","modified":"2026-10-28T02:30:34Z","exploits":[{"source":"pocgithub","id":"0xless/CVE-2022-44900-demo-lab","title":"0xless/CVE-2022-44900-demo-lab","date":"2023-01-21","url":"https://github.com/0xless/CVE-2022-44900-demo-lab"}],"fixes":[{"ecosystem":"PyPI","package":"py7zr","fixed_in":["0.20.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"py7zr","fixed_in":["0.11.3+dfsg-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"py7zr","fixed_in":["0.11.3+dfsg-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"py7zr","fixed_in":["0.11.3+dfsg-5"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"py7zr","fixed_in":["0.11.3+dfsg-1+deb11u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"py7zr","fixed_in":["0.11.3+dfsg-4ubuntu0.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"python-py7zr","fixed_in":["0.20.8-2.6"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"py7zr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.20.0"},{"fixed":"0.20.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"py7zr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.3+dfsg-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"py7zr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.3+dfsg-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"py7zr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.3+dfsg-5"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"py7zr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.3+dfsg-1+deb11u1"}]}],"versions":["0.11.3+dfsg-1"]},{"source":"osv","ecosystem":"PyPI","package":"py7zr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1"}]}],"versions":["0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.10.0","0.10.0a1","0.10.0a2","0.10.0a3","0.10.0a4","0.10.0a5","0.10.0a6","0.10.0b1","0.10.0b3","0.10.1","0.10.2","0.11.0","0.11.0a1","0.11.0b1","0.11.0b2","0.11.0b3","0.11.1","0.11.2","0.11.3","0.12.0","0.13.0","0.13.1","0.14.0","0.14.1","0.15.0","0.15.1","0.15.2","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.17.0","0.17.1","0.17.2","0.17.3","0.17.4","0.18.0","0.18.1","0.18.10","0.18.11","0.18.12","0.18.3","0.18.4","0.18.5","0.18.6","0.18.7","0.18.9","0.19.0","0.19.1","0.19.2","0.2.0","0.20.0","0.3","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.4","0.4.1","0.4.3","0.4.4","0.4a1","0.4a2","0.4b1","0.5","0.5.2","0.5.3","0.5.4","0.5.5","0.5a3","0.5a4","0.5b1","0.5b2","0.5b3","0.5b4","0.5b5","0.5b6","0.5rc2","0.5rc3","0.6","0.6a1","0.6a2","0.6b1","0.6b2","0.6b3","0.6b4","0.6b5","0.6b6","0.6b7","0.6b8","0.6rc0","0.7.0","0.7.0b1","0.7.0b2","0.7.0b3","0.7.1","0.7.2","0.7.3","0.7.4","0.8.0","0.8.0a1","0.8.0a2","0.8.0a3","0.8.0b1","0.8.0b2","0.8.0b3","0.8.0b4","0.8.0b5","0.8.0b6","0.8.0b7","0.8.0b8","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.9.0","0.9.0a1","0.9.0a2","0.9.0b1","0.9.0b2","0.9.0b3","0.9.1","0.9.10","0.9.2","0.9.3","0.9.4","0.9.5","0.9.7","0.9.8","0.9.9"]},{"source":"osv","ecosystem":"PyPI","package":"py7zr","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"1bb43f17515c7f69673a1c88ab9cc72a7bbef406"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1"}]}],"versions":["0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.10.0","0.10.0a1","0.10.0a2","0.10.0a3","0.10.0a4","0.10.0a5","0.10.0a6","0.10.0b1","0.10.0b3","0.10.1","0.10.2","0.11.0","0.11.0a1","0.11.0b1","0.11.0b2","0.11.0b3","0.11.1","0.11.2","0.11.3","0.12.0","0.13.0","0.13.1","0.14.0","0.14.1","0.15.0","0.15.1","0.15.2","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.17.0","0.17.1","0.17.2","0.17.3","0.17.4","0.18.0","0.18.1","0.18.10","0.18.11","0.18.12","0.18.3","0.18.4","0.18.5","0.18.6","0.18.7","0.18.9","0.19.0","0.19.1","0.19.2","0.2.0","0.20.0","0.3","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.4","0.4.1","0.4.3","0.4.4","0.4a1","0.4a2","0.4b1","0.5","0.5.2","0.5.3","0.5.4","0.5.5","0.5a3","0.5a4","0.5b1","0.5b2","0.5b3","0.5b4","0.5b5","0.5b6","0.5rc2","0.5rc3","0.6","0.6a1","0.6a2","0.6b1","0.6b2","0.6b3","0.6b4","0.6b5","0.6b6","0.6b7","0.6b8","0.6rc0","0.7.0","0.7.0b1","0.7.0b2","0.7.0b3","0.7.1","0.7.2","0.7.3","0.7.4","0.8.0","0.8.0a1","0.8.0a2","0.8.0a3","0.8.0b1","0.8.0b2","0.8.0b3","0.8.0b4","0.8.0b5","0.8.0b6","0.8.0b7","0.8.0b8","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.9.0","0.9.0a1","0.9.0a2","0.9.0b1","0.9.0b2","0.9.0b3","0.9.1","0.9.10","0.9.2","0.9.3","0.9.4","0.9.5","0.9.7","0.9.8","0.9.9","v0.20.0","v0.18.9","v0.18.7","v0.18.6","v0.18.5","v0.18.4","v0.18.3","v0.18.1","v0.18.0","v0.17.4","v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.4","v0.16.3","v0.16.2","v0.16.1","v0.16.0","v0.15.2","v0.15.1","v0.15.0","v0.14.1","v0.13.0","v0.14.0","v0.12.0","v0.11.3","v0.10.1","v0.11.2","v0.11.1","v0.11.0","v0.10.0a1","v0.9.2","v0.9.1","v0.9.0","v0.9.0b3","v0.9.0b2","v0.9.0b1","v0.9.0a2","v0.8.0","v0.9.0a1","v0.8.0b8","v0.8.0b7","v0.8.0b6","v0.8.0b5","v0.8.0b4","v0.8.0b3","v0.7.3","v0.8.0b2","v0.8.0b1","v0.8.0a3","v0.8.0a2","v0.8.0a1","v0.7.2","v0.7.1","v0.7.0","v0.7.0b3","v0.7.0b2","v0.7.0b1","v0.6","v0.6rc","v0.6b8","v0.6b7","v0.6b6","v0.6b5","v0.6b4","v0.6b3","v0.6b2","v0.6b1","v0.6a2","v0.6a1","v0.5b6","v0.5b5","v0.5b4","v0.5b3","v0.5b2","v0.5b1","v0.5a4","v0.5a3","v0.5a2","v0.5a1","v0.4b1","v0.4a2","v0.4a1","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3","v0.2.0","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v0.1.0","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"py7zr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.3+dfsg-4ubuntu0.1"}]}],"versions":["0.11.3+dfsg-1","0.11.3+dfsg-1ubuntu1","0.11.3+dfsg-2","0.11.3+dfsg-3","0.11.3+dfsg-4"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"py7zr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.3+dfsg-4ubuntu0.1"}]}],"versions":["0.11.3+dfsg-1","0.11.3+dfsg-1ubuntu1","0.11.3+dfsg-2","0.11.3+dfsg-3","0.11.3+dfsg-4"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-py7zr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.8-2.6"}]}]}],"products":[{"vendor":"py7zr_project","product":"py7zr"}],"references":[{"url":"https://github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406","tags":["x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry","web","evidence","advisory"]},{"url":"https://lessonsec.com/cve/cve-2022-44900/","tags":["x_transferred","Exploit","Third Party Advisory","web","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-44900","tags":["advisory"]},{"url":"https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-m8xw-9x5x-6vh3","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/py7zr/PYSEC-2022-42998.yaml","tags":["web"]},{"url":"https://lessonsec.com/cve/cve-2022-44900","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m8xw-9x5x-6vh3","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/44xxx/CVE-2022-44900.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-44900","tags":["advisory"]},{"url":"https://github.com/miurahr/py7zr","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-44900","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-44900","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7030-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2022-44900","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/GTPYDSULYXFYF5DM6FNQYBZ6M5HI2JRL/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-44900","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.","status":"published","published":"2022-12-06T00:00:00Z","modified":"2025-04-23T14:32:21.734Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"adp"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:30.176321Z"}],"euvd":[{"id":"EUVD-2022-0208","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.","status":"published","published":"2022-12-06T00:00:00Z","modified":"2025-04-23T14:32:21Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T20:52:14.077439Z"}],"ghsa":[{"id":"GHSA-m8xw-9x5x-6vh3","title":"py7zr directory traversal vulnerability","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.","status":"published","published":"2022-12-06T21:30:45Z","modified":"2024-10-18T22:00:27Z","cvss":[{"version":"4.0","score":9.3,"vector":"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","level":"critical"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:38:11.479492Z"}],"nvd":[{"id":"CVE-2022-44900","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.","status":"published","published":"2022-12-06T20:15:10.56Z","modified":"2026-06-17T05:09:01.75Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"primary"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:33.239526Z"}],"osv":[{"id":"CVE-2022-44900","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.","status":"published","published":"2022-12-06T00:00:00Z","modified":"2026-10-28T02:30:34.321637546Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T15:44:27.481647Z"},{"id":"GHSA-m8xw-9x5x-6vh3","title":"py7zr directory traversal vulnerability","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.","status":"published","published":"2022-12-06T21:30:45Z","modified":"2024-10-18T22:22:41.281652Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"},{"version":"4.0","score":9.3,"vector":"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","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:51.463834Z"},{"id":"UBUNTU-CVE-2022-44900","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.","status":"published","published":"2022-12-06T20:15:00Z","modified":"2026-02-04T02:35:27.935252Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T16:53:56.473586Z"},{"id":"DEBIAN-CVE-2022-44900","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.","status":"published","published":"2022-12-06T20:15:10.56Z","modified":"2026-11-03T06:03:11.652839794Z","updated_at":"2026-11-03T06:42:33.899035Z"},{"id":"DSA-5652-1","title":"py7zr - security update","status":"published","published":"2024-04-02T00:00:00Z","modified":"2026-03-09T02:11:27.172615Z","updated_at":"2026-11-02T15:46:17.892347Z"},{"id":"openSUSE-SU-2024:12586-1","title":"python310-py7zr-0.20.2-1.1 on GA media","description":"These are all security issues fixed in the python310-py7zr-0.20.2-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:24:37.709208Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"openSUSE-SU-2025:15101-1","title":"python311-py7zr-0.20.8-2.6 on GA media","description":"These are all security issues fixed in the python311-py7zr-0.20.8-2.6 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-05-17T00:00:00Z","modified":"2026-02-04T03:30:26.25436Z","updated_at":"2026-11-02T16:58:37.399567Z"},{"id":"PYSEC-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.","status":"published","published":"2022-12-06T20:15:00Z","modified":"2026-06-10T17:01:39.992769112Z","updated_at":"2026-11-02T15:52:53.449407Z"},{"id":"USN-7030-1","title":"py7zr vulnerability","description":"It was discovered that py7zr was vulnerable to path traversal attacks.\nIf a user or automated system were tricked into extracting a specially\ncrafted 7z archive, an attacker could possibly use this issue to write\narbitrary files outside the target directory on the host.\n","status":"published","published":"2024-09-24T08:08:46Z","modified":"2026-02-10T04:45:27Z","updated_at":"2026-11-02T16:58:18.876384Z"}]}}
