{"answers":{"affected":"3 open source packages ship an affected version, including kubevirt.io/kubevirt.","exploited":"There is no known exploitation of CVE-2024-31420 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-31420 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-31420 is a medium-severity vulnerability in Red Hat OpenShift Virtualization 4, published on 3 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-31420 and fix it if it is affected.\n\nWhat it is: CVE-2024-31420 is a medium-severity vulnerability in Red Hat OpenShift Virtualization 4, published on 3 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-31420 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- kubevirt.io/kubevirt (Go): affected all versions; no fix listed\n- kubevirt.io/kubevirt (Go): affected all versions up to 1.2.0; no fix listed\n- kubevirt.io/kubevirt (Go): affected all versions up to 1.2.0; no fix listed\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-2024-31420/ (Markdown: https://insights.sbomify.com/CVE-2024-31420/index.md)","id":"CVE-2024-31420","markdown":"https://insights.sbomify.com/CVE-2024-31420/index.md","name":"CVE-2024-31420","record":{"aliases":["GHSA-vjhf-6xfr-5p9g","GO-2024-2688","MINI-78qf-q7m4-q48f","MINI-mjvw-3jmr-g2q9"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"KubeVirt virtualization","requires_auth":"low_privilege","summary":"An attacker with guest access can crash the virtualization handler by repeatedly calling vm-dump-metrics, causing denial of service.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"A NULL pointer dereference flaw was found in KubeVirt. This flaw allows an attacker who has access to a virtual machine guest on a node with DownwardMetrics enabled to cause a denial of service by issuing a high number of calls to vm-dump-metrics --virtio and then deleting the virtual machine.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Cnv: dos through repeatedly calling vm-dump-metrics until virt handler crashes","id":"CVE-2024-31420","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"null_dereference","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"WordPress Popup by Supsystic plugin \u003c= 1.10.27 - Broken Access Control vulnerability","id":"CVE-2024-31421"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","source":"GO-2024-2688"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.2.0"],"package":"kubevirt.io/kubevirt","purl":null,"source":"GHSA-vjhf-6xfr-5p9g"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.2.0"],"package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","source":"GHSA-vjhf-6xfr-5p9g"}],"prev":{"headline":"Cnv: information disclosure through the usage of vm-dump-metrics","id":"CVE-2024-31419"},"products":["Red Hat OpenShift Virtualization 4"],"published":"2024-04-03","related":[],"sources":[{"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":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-20","vendors":["Red Hat"]},"summary":"An attacker with guest access can crash the virtualization handler by repeatedly calling vm-dump-metrics, causing denial of service.","url":"https://insights.sbomify.com/CVE-2024-31420/"}