CVE-2022-44900: py7zr directory traversal vulnerability

CVE-2022-44900 · Severity: low · CVSS 3.1 · Published 2022-12-06

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.

Technologies: py7zr (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2022-44900 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-44900 being exploited in the wild.
How severe is CVE-2022-44900?
Low severity, with a CVSS score of 3.1, published 6 December 2022.
Which products and versions are affected?
py7zr (PyPI) ECOSYSTEM:introduced=0,fixed=0.20.1, GIT:introduced=0,fixed=1bb43f17515c7f69673a1c88ab9cc72a7bbef406|ECOSYSTEM:introduced=0,fixed=0.20.1.
Is there a fix for CVE-2022-44900?
Yes. py7zr (PyPI): upgrade to 0.20.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-44900?
Check whether you run py7zr (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • py7zr (PyPI): upgrade to 0.20.1 or later
    pip install "py7zr>=0.20.1"

Affected products

  • py7zr (PyPI) ECOSYSTEM:introduced=0,fixed=0.20.1, GIT:introduced=0,fixed=1bb43f17515c7f69673a1c88ab9cc72a7bbef406|ECOSYSTEM:introduced=0,fixed=0.20.1

Identifiers

  • CVE-2022-44900
  • GHSA-m8xw-9x5x-6vh3
  • PYSEC-2022-42998

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.