GitHub Advisoryadvisory · PyPI
GHSA-qwmp-2cf2-g9g6 pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)
HIGH
Official page ↗
- Aliases
- CVE-2022-40898
- Ecosystem
- PyPI
- Packages
- wheel
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2022-12-26
Affected packages
• PyPI wheel: < 0.38.1 → fixed in 0.38.1
Description
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-40898 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/wheel/PYSEC-2022-43017.yaml web
- https://github.com/pypa/wheel package
- https://github.com/pypa/wheel/blob/main/src/wheel/wheelfile.py#L18 web
- https://pypi.org/project/wheel web
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages web
- https://pyup.io/vulnerabilities/CVE-2022-40898/51499 web