CVE-2022-40897: Python Setuptools
Medium severity, CVSS 5.9. EPSS: 2.5% chance of exploitation in the next 30 days.
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
- Python Setuptools: before 65.5.1 (fixed in 65.5.1)
Published 2022-12-23. Last modified 2026-06-17.