PyPI: wheel
CVE-2022-40898
Safety vulnerability ID: SFTY-20221223-82836
Safety legacy ID: pyup.io-51499
Wheel 0.38.1 includes a fix for CVE-2022-40898: An issue discovered in Python Packaging Authority (PyPA) Wheel 0.37.1 and earlier allows remote attackers to cause a denial of service via attacker controlled input to wheel cli. https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages
Overview
pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)
Advisory
Wheel 0.38.1 includes a fix for CVE-2022-40898: An issue discovered in Python Packaging Authority (PyPA) Wheel 0.37.1 and earlier allows remote attackers to cause a denial of service via attacker controlled input to wheel cli. https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20221223-82836/CVE-2022-40898
- https://nvd.nist.gov/vuln/detail/CVE-2022-40898
- https://github.com/pypa/wheel/blob/main/src/wheel/wheelfile.py#L18
- https://github.com/pypa/advisory-database/tree/main/vulns/wheel/PYSEC-2022-43017.yaml
- https://pypi.org/project/wheel
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages
- https://pyup.io/vulnerabilities/CVE-2022-40898/51499
- https://github.com/advisories/GHSA-qwmp-2cf2-g9g6
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
