CVE-2022-40897

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
Link Resource
https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200 Third Party Advisory
https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be Patch Third Party Advisory
https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1 Release Notes Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H/
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ Exploit Patch Technical Description Vendor Advisory
https://pyup.io/vulnerabilities/CVE-2022-40897/52495/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20230214-0001/
https://security.netapp.com/advisory/ntap-20240621-0006/
https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200 Third Party Advisory
https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be Patch Third Party Advisory
https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1 Release Notes Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H/
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ Exploit Patch Technical Description Vendor Advisory
https://pyup.io/vulnerabilities/CVE-2022-40897/52495/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20230214-0001/
https://security.netapp.com/advisory/ntap-20240621-0006/
Configurations

Configuration 1 (hide)

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

History

No history.

Information

Published : 2022-12-23 00:15

Updated : 2024-11-21 07:22


NVD link : CVE-2022-40897

Mitre link : CVE-2022-40897

CVE.ORG link : CVE-2022-40897


JSON object : View

Products Affected

python

  • setuptools
CWE
CWE-1333

Inefficient Regular Expression Complexity