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.
Configurations

Configuration 1 (hide)

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

History

07 Nov 2023, 03:52

Type Values Removed Values Added
References
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R/', 'name': 'FEDORA-2023-60e2b22be0', 'tags': [], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H/', 'name': 'FEDORA-2023-9992b32c1f', 'tags': [], 'refsource': 'FEDORA'}
  • () 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/ -

08 Aug 2023, 14:22

Type Values Removed Values Added
CWE NVD-CWE-Other CWE-1333

01 May 2023, 06:15

Type Values Removed Values Added
References
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R/ -
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H/ -

14 Feb 2023, 13:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20230214-0001/ -

06 Jan 2023, 18:34

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 7.5
v2 : unknown
v3 : 5.9

30 Dec 2022, 21:45

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE NVD-CWE-Other
References (MISC) https://pyup.io/vulnerabilities/CVE-2022-40897/52495/ - (MISC) https://pyup.io/vulnerabilities/CVE-2022-40897/52495/ - Third Party Advisory
References (MISC) https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200 - (MISC) https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200 - Third Party Advisory
References (MISC) https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ - (MISC) https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ - Exploit, Patch, Technical Description, Vendor Advisory
References (CONFIRM) https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1 - (CONFIRM) https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1 - Release Notes, Third Party Advisory
References (MISC) https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be - (MISC) https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be - Patch, Third Party Advisory
First Time Python setuptools
Python
CPE cpe:2.3:a:python:setuptools:*:*:*:*:*:*:*:*

27 Dec 2022, 08:15

Type Values Removed Values Added
Summary An issue discovered in Python Packaging Authority (PyPA) setuptools 65.3.0 and earlier allows remote attackers to cause a denial of service via crafted HTML package or custom PackageIndex page. 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
  • (MISC) https://pyup.io/vulnerabilities/CVE-2022-40897/52495/ -
  • (CONFIRM) https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1 -
  • (MISC) https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be -

23 Dec 2022, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-12-23 00:15

Updated : 2023-12-10 14:48


NVD link : CVE-2022-40897

Mitre link : CVE-2022-40897

CVE.ORG link : CVE-2022-40897


JSON object : View

Products Affected

python

  • setuptools
CWE