7.5high
pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 2.85% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-qwmp-2cf2-g9g6PYSEC-2022-43017
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| wheel (PyPI) | before 0.38.1 | GitHub Advisory Database, PyPA Advisory Database |
| wheel_project wheel | before 0.38.1 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Un problema descubierto en Python Packaging Authority (PyPA) Wheel 0.37.1 y anteriores permite a atacantes remotos provocar una Denegación de Servicio (DoS) a través de una entrada controlada por el atacante en wheel cli.
References
| https://pypi.org/project/wheel/ | package, product, third-party-advisory | |
| https://github.com/pypa/wheel/blob/main/src/wheel/wheelfile.py#L18 | third-party-advisory, web | |
| https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ | advisory, evidence, exploit, vendor-advisory | |
| 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://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 | |
| https://github.com/advisories/GHSA-qwmp-2cf2-g9g6 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-40898 changed 2025-04-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qwmp-2cf2-g9g6 changed 2024-11-19 | CC-BY-4.0 |
| NVD | CVE-2022-40898 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2022-43017 changed 2026-06-10 | CC-BY-4.0 |