{"answers":{"affected":"3 open source packages ship an affected version, including wheel. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40898 exists.","fix":"Upgrade wheel to 0.38.1 or later.","what":"CVE-2022-40898 is a high-severity denial of service vulnerability in n/a, published on 22 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-40898 and fix it if it is affected.\n\nWhat it is: CVE-2022-40898 is a high-severity denial of service vulnerability in n/a, published on 22 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40898 exists.\n\nAffected packages and fixed versions:\n- wheel (PyPI): affected all versions; fixed in 0.38.1\n- wheel (PyPI): affected all versions; fixed in 0.38.1\n- wheel (PyPI): affected all versions; fixed in 0.38.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-40898/ (Markdown: https://insights.sbomify.com/CVE-2022-40898/index.md)","id":"CVE-2022-40898","markdown":"https://insights.sbomify.com/CVE-2022-40898/index.md","name":"CVE-2022-40898","record":{"aliases":["ALSA-2023:6712","AZL-12098","DEBIAN-CVE-2022-40898","GHSA-qwmp-2cf2-g9g6","MGASA-2023-0218","OESA-2023-1904","PYSEC-2022-43017","RHSA-2023:6712","RLSA-2023:6712","SUSE-SU-2023:0088-1","SUSE-SU-2023:0088-2","SUSE-SU-2023:0089-1","UBUNTU-CVE-2022-40898","USN-5821-1","USN-5821-2","USN-5821-3","openSUSE-SU-2024:12645-1","openSUSE-SU-2024:13214-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python wheel library","requires_auth":"none","summary":"Remote attackers can cause a denial of service in the Python Wheel library by providing malicious input to the command-line interface.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"wheel","vendor":"wheel_project"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["AlmaLinux:9","PyPI","Red Hat:enterprise_linux:9::crb","Rocky Linux:9","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Package Hub 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Module for Public Cloud 15 SP1","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)","id":"CVE-2022-40898","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":31,"n_references":3,"next":{"headline":"Python Charmers Future denial of service vulnerability","id":"CVE-2022-40899"},"packages":[{"ecosystem":"PyPI","fixed":["0.38.1"],"introduced":["0"],"last_affected":[],"package":"wheel","purl":null,"source":"GHSA-qwmp-2cf2-g9g6"},{"ecosystem":"PyPI","fixed":["0.38.1"],"introduced":["0"],"last_affected":[],"package":"wheel","purl":"pkg:pypi/wheel","source":"GHSA-qwmp-2cf2-g9g6"},{"ecosystem":"PyPI","fixed":["0.38.1"],"introduced":["0"],"last_affected":[],"package":"wheel","purl":"pkg:pypi/wheel","source":"PYSEC-2022-43017"},{"ecosystem":"AlmaLinux:9","fixed":["1:0.36.2-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-wheel","purl":"pkg:rpm/almalinux/python3-wheel","source":"ALSA-2023:6712"},{"ecosystem":"AlmaLinux:9","fixed":["1:0.36.2-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-wheel-wheel","purl":"pkg:rpm/almalinux/python3-wheel-wheel","source":"ALSA-2023:6712"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["1:0.36.2-8.el9"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/redhat/python-wheel","source":"RHSA-2023:6712"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["1:0.36.2-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-wheel","purl":"pkg:rpm/redhat/python3-wheel","source":"RHSA-2023:6712"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["1:0.36.2-8.el9"],"introduced":["0"],"last_affected":[],"package":"python3-wheel-wheel","purl":"pkg:rpm/redhat/python3-wheel-wheel","source":"RHSA-2023:6712"},{"ecosystem":"Rocky Linux:9","fixed":["1:0.36.2-8.el9"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/rocky-linux/python-wheel?distro=rocky-linux-9-x86-64\u0026epoch=1","source":"RLSA-2023:6712"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:0088-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP4","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP4","source":"SUSE-SU-2023:0088-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 12","fixed":["0.30.0-2.7.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012","source":"SUSE-SU-2023:0089-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP1","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP1","source":"SUSE-SU-2023:0088-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2023:0088-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Manager Proxy 4.2","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Manager%20Proxy%204.2","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"SUSE:Manager Server 4.2","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/suse/python-wheel\u0026distro=SUSE%20Manager%20Server%204.2","source":"SUSE-SU-2023:0088-2"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["0.32.3-150100.6.5.1"],"introduced":["0"],"last_affected":[],"package":"python-wheel","purl":"pkg:rpm/opensuse/python-wheel\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:0088-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.7.7-1.1"],"introduced":["0"],"last_affected":[],"package":"python-ciscoconfparse","purl":"pkg:rpm/opensuse/python-ciscoconfparse\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12645-1"}],"prev":{"headline":"pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)","id":"CVE-2022-40897"},"products":["n/a"],"published":"2022-12-22","related":[{"cvss_score":7.1,"headline":"wheel Allows Arbitrary File Permission Modification via Path Traversal","id":"CVE-2026-24049","kev_date_added":null,"published":"2026-01-22"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-15","vendors":["n/a"]},"summary":"Remote attackers can cause a denial of service in the Python Wheel library by providing malicious input to the command-line interface.","url":"https://insights.sbomify.com/CVE-2022-40898/"}