cve.bz

CVE-2022-40897

5.9 mediumEPSS 2.6%

Medium (5.9) in python setuptools. EPSS 2.6% chance of exploitation in the next 30 days. Fixed in setuptools 65.5.1.

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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.6% chance of exploitation in the next 30 days; higher than 85% of CVEs (scores of 2026-10-31)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r9hx-vwmv-q579PyPIsetuptools<65.5.165.5.1
PYSEC-2022-43012PyPIsetuptools<65.5.165.5.1

References

Check your stackJSON