1. Home
  2. Vulnerabilities
  3. CVE-2022-40897

CVE-2022-40897

Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of…

Published 23 Dec 2022 · modified 17 Jun 2026 · Sources: NVD, CERT-FR, EPSS (FIRST)

Medium 53/100

Summary

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 and versions

Python (1 line(s))
Python
ProductVersionsFixed inSource
Setuptools before 65.5.1 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)
  3. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1486)
  4. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1576)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-1333 · Autre (CWE-1333)

How this data is obtained and calculated