high7.5
CVE-2022-40898
pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | wheel | < 0.38.1 | 0.38.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Wheel Project | Wheel | before 0.38.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/pypa/wheel/blob/main/src/wheel/wheelfile.py#L18
- https://pypi.org/project/wheel/
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/
- https://github.com/advisories/GHSA-qwmp-2cf2-g9g6
- https://nvd.nist.gov/vuln/detail/CVE-2022-40898
- 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