CVE-2022-40897
Last modified
CVE-2022-40897 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.. EPSS estimates a 2.62% chance of exploitation in the next 30 days.
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.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Setuptools | < 65.5.1 |
References
- https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964bePatch, Third Party Advisory
- https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1Release Notes, Third Party Advisory
- 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://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964bePatch, Third Party Advisory
- https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1Release Notes, Third Party Advisory
- 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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-40897?
How severe is CVE-2022-40897?
How do I fix CVE-2022-40897?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-40887SourceCodester Best Student Result Management System 1.0 is …9.8
- CVE-2022-40889Phpok 6.1 has a deserialization vulnerability via framework/…9.8
- CVE-2022-4089A vulnerability was found in rickxy Stock Management System.…5.4
- CVE-2022-40890A vulnerability in /src/amf/amf-context.c in Open5GS 2.4.10 …7.5
- CVE-2022-40895In certain Nedi products, a vulnerability in the web UI of N…9.1
- CVE-2022-40896A ReDoS issue was discovered in pygments/lexers/smithy.py in…5.5
- CVE-2022-40898An issue discovered in Python Packaging Authority (PyPA) Whe…7.5
- CVE-2022-40899An issue discovered in Python Charmers Future 0.18.2 and ear…7.5
- CVE-2022-4090A vulnerability was found in rickxy Stock Management System …8.8
- CVE-2022-40903Aiphone GT-DMB-N 3-in-1 Video Entrance Station with NFC Read…6.5
- CVE-2022-4091A vulnerability was found in SourceCodester Canteen Manageme…6.1
- CVE-2022-40912ETAP Lighting International NV ETAP Safety Manager 1.0.0.32 …6.1
Are you affected by CVE-2022-40897?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
