id: PYSEC-2022-42998 details: 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. aliases: - CVE-2022-44900 - GHSA-m8xw-9x5x-6vh3 modified: '2023-05-04T04:29:28.497759Z' published: '2022-12-06T20:15:00Z' references: - type: FIX url: https://github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406 - type: EVIDENCE url: http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html - type: WEB url: http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html - type: ADVISORY url: http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html - type: EVIDENCE url: https://lessonsec.com/cve/cve-2022-44900/ - type: WEB url: https://lessonsec.com/cve/cve-2022-44900/ - type: ADVISORY url: https://github.com/advisories/GHSA-m8xw-9x5x-6vh3 affected: - package: name: py7zr ecosystem: PyPI purl: pkg:pypi/py7zr ranges: - type: GIT repo: https://github.com/miurahr/py7zr 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 -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