cve.bz

CVE-2022-40898 wheel project wheel: Improper Input Validation

7.5 highExploit referenceEPSS 2.8%Fix available

High (7.5) in wheel project wheel. EPSS 2.8% estimated probability of exploitation activity in the next 30 days. Fixed in wheel 0.38.1.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.8% (unchanged from 2.8% a week ago; 2.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-40898 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-40898?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-40898?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-40898 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
wheel_project:wheelbefore 0.38.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qwmp-2cf2-g9g6PyPIwheel<0.38.10.38.1
PYSEC-2022-43017PyPIwheel<0.38.10.38.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14wheel0.38.0-1DEBIAN-CVE-2022-40898
Ubuntu18.04:LTSpython-pip9.0.1-2.3~ubuntu1.18.04.7UBUNTU-CVE-2022-40898 USN-5821-3
Ubuntu18.04:LTSwheel0.30.0-0.2ubuntu0.1UBUNTU-CVE-2022-40898 USN-5821-1
Ubuntu20.04:LTSpython-pip20.0.2-5ubuntu1.8UBUNTU-CVE-2022-40898 USN-5821-3
Ubuntu20.04:LTSwheel0.34.2-1ubuntu0.1UBUNTU-CVE-2022-40898 USN-5821-1
Ubuntu22.04:LTSpython-pip22.0.2+dfsg-1ubuntu0.2UBUNTU-CVE-2022-40898 USN-5821-3
Ubuntu22.04:LTSwheel0.37.1-2ubuntu0.22.04.1UBUNTU-CVE-2022-40898 USN-5821-1
UbuntuPro:14.04:LTSpython-pip1.5.4-1ubuntu4+esm3UBUNTU-CVE-2022-40898 USN-5821-3
UbuntuPro:14.04:LTSwheel0.24.0-1~ubuntu1.1+esm1UBUNTU-CVE-2022-40898 USN-5821-1
UbuntuPro:16.04:LTSpython-pip8.1.1-2ubuntu0.6+esm4UBUNTU-CVE-2022-40898 USN-5821-3
UbuntuPro:16.04:LTSwheel0.29.0-1ubuntu0.1~esm1UBUNTU-CVE-2022-40898 USN-5821-2
Red Hatenterprise_linux:9::appstreamrhc-worker-playbook, rhc-worker-playbook-debuginfo0:0.1.10-1.el9_5RHSA-2024:10761
Red Hatenterprise_linux:9::crbpython-wheel, python3-wheel, python3-wheel-wheel1:0.36.2-8.el9RHSA-2023:6712
Red Hatrhel_software_collections:3::el7rh-python38-python, rh-python38-python-idle, rh-python38-python-libs and 7 more0:3.8.18-2.el7RHSA-2023:6793
Red Hatrhel_software_collections:3::el7rh-python38-python-cryptography, rh-python38-python-cryptography-debuginfo0:2.8-6.el7RHSA-2023:6793
Red Hatrhel_software_collections:3::el7rh-python38-python-pip, rh-python38-python-pip-wheel0:19.3.1-4.el7RHSA-2023:6793
Red Hatrhel_software_collections:3::el7rh-python38-python-requests0:2.22.0-11.el7RHSA-2023:6793
Red Hatrhel_software_collections:3::el7rh-python38-python-setuptools, rh-python38-python-setuptools-wheel0:41.6.0-8.el7RHSA-2023:6793
Red Hatrhel_software_collections:3::el7rh-python38-python-wheel, rh-python38-python-wheel-wheel0:0.33.6-9.el7RHSA-2023:6793
SUSEEnterprise Storage 6, Enterprise Storage 7, Enterprise Storage 7.1 and 12 morepython-wheel0.32.3-150100.6.5.1SUSE-SU-2023:0088-2
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Module for Public Cloud 15 SP1 and 1 morepython-wheel0.32.3-150100.6.5.1SUSE-SU-2023:0088-1
SUSELinux Enterprise Module for Public Cloud 12python-wheel0.30.0-2.7.1SUSE-SU-2023:0089-1
openSUSELeap 15.4python-wheel0.32.3-150100.6.5.1SUSE-SU-2023:0088-1
openSUSETumbleweedpython-ciscoconfparse1.7.7-1.1openSUSE-SU-2024:12645-1
AlmaLinux9python3-wheel, python3-wheel-wheel1:0.36.2-8.el9ALSA-2023:6712
Rocky Linux9python-wheel1:0.36.2-8.el9RLSA-2023:6712
Azure Linux2python-wheel0.33.6-8AZL-12098

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9rhc-worker-playbook-0:0.1.10-1.el9_5Fixed 2024-12-03RHSA-2024:10761
Red Hat Enterprise Linux 9python-wheel-1:0.36.2-8.el9Fixed 2023-11-07RHSA-2023:6712
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-wheel-0:0.33.6-9.el7Fixed 2023-11-08RHSA-2023:6793
Red Hat Enterprise Linux 7python-wheelOut of support scope
Red Hat Enterprise Linux 8python27:2.7/python-wheelWill not fix
Red Hat Enterprise Linux 8python36:3.6/python-wheelWill not fix
Red Hat Enterprise Linux 8python38:3.8/python-wheelWill not fix
Red Hat Enterprise Linux 8python39:3.9/python-wheelWill not fix
Red Hat Enterprise Linux 8rhc-worker-playbookNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-40898.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON