CVE-2022-40898: pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)
(updated )
Python Packaging Authority (PyPA) Wheel is a reference implementation of the Python wheel packaging standard. Wheel 0.37.1 and earlier are vulnerable to a Regular Expression denial of service via attacker controlled input to the wheel cli. The vulnerable regex is used to verify the validity of Wheel file names. This has been patched in version 0.38.1.
References
- github.com/advisories/GHSA-qwmp-2cf2-g9g6
- github.com/pypa/advisory-database/tree/main/vulns/wheel/PYSEC-2022-43017.yaml
- github.com/pypa/wheel
- github.com/pypa/wheel/blob/main/src/wheel/wheelfile.py
- nvd.nist.gov/vuln/detail/CVE-2022-40898
- pypi.org/project/wheel
- pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages
- pyup.io/vulnerabilities/CVE-2022-40898/51499
Detect and mitigate CVE-2022-40898 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →