CVE-2022-40897
MEDIUMPython Packaging Authority (PyPA) setuptools <65.5.1 - DoS
Title source: llmDescription
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.
References (10)
Core 10
Core References
Third Party Advisory
https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200
Patch, Third Party Advisory
https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be
Release Notes, Third Party Advisory
https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1
Exploit, Patch, Technical Description, Vendor Advisory
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/
Third Party Advisory
https://pyup.io/vulnerabilities/CVE-2022-40897/52495/
Vendor Advisory
https://security.netapp.com/advisory/ntap-20230214-0001/
Vendor Advisory
https://security.netapp.com/advisory/ntap-20240621-0006/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R/
Scores
CVSS v3
5.9
EPSS
0.0262
EPSS Percentile
83.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-1333
Status
published
Products (2)
pypi/setuptools
0 - 65.5.1PyPI
python/setuptools
< 65.5.1
Published
Dec 23, 2022
Tracked Since
Feb 18, 2026