CVE-2022-40897: pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)
CVE-2022-40897 · Severity: low · CVSS 3.1 · Published 2022-12-23
Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted package or custom PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in package_index.py.
Yes. setuptools (PyPI): upgrade to 65.5.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-40897?
Check whether you run setuptools (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.