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—
ProductPython Setuptools
PublishedDec 23, 2022
First seenDec 23, 2022
Weakness typeCWE-1333CWE-1333

How to fix

Affected products

ProductAffected versionsFixed in
python setuptoolsv < 65.5.165.5.1
setuptoolsPyPIv < 65.5.165.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.