What’s Vulnerable › Vulnerabilities

CVE-2022-40897: pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)

Description

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.

Affected products

How to fix

Upgrade to a fixed version: pypa setuptools 65.5.1; Pypi Setuptools 65.5.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-40897 or the next vulnerability affects your stack