CVE-2022-40897
Medium
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.
SeverityMedium
CVSS5.9
Exploit probability—
Product
Python Setuptools
PublishedDec 23, 2022
First seenDec 23, 2022
Weakness typeCWE-1333CWE-1333
How to fix
Update
- python setuptools65.5.1 or later
- setuptools65.5.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python setuptools | v < 65.5.1 | 65.5.1 |
| setuptoolsPyPI | v < 65.5.1 | 65.5.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.