Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2022-40897 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200 CVEThird Party Advisory
https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be CVEPatchThird Party Advisory
https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1 CVERelease NotesThird Party Advisory
https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html CVE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R/ CVE

see all 19 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-1333Inefficient Regular Expression Complexity[email protected]
CWE-1333Inefficient Regular Expression ComplexityCISA-ADP

Affected Products

ProductVersions
python setuptools
< 65.5.1

CPE

  • cpe:2.3:a:python:setuptools:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

15 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2022-40897
NVD Published Date:
Dec 23, 2022
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2022-40897 Details - Not Deferred