onyx --cves cve-2022-40897
CVE-2022-40897
- score
- <0.1
- cvss
- 5.9
- epss
- 2.5%
- published
- 2022-12-23
- kev added
- —
- first seen
Python Packaging Authority (PyPA) setuptools < 65.5.1 contains a denial of service caused by a Regular Expression Denial of Service (ReDoS) in package_index.py, letting remote attackers cause denial of service via crafted HTML content, exploit requires sending malicious package or index page.
Timeline
How this CVE moved toward exploitation. Chart: last 30 days — trend score, EPSS, community mentions per day; hover the event lane.
- Published
- Tracked by Onyx
- Public PoC https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200
Exploit availability
Weaknesses
References 10
- https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be
- https://pyup.io/vulnerabilities/CVE-2022-40897/52495/
- 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://security.netapp.com/advisory/ntap-20230214-0001/
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/
- https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200
- https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1