{"answers":{"affected":"3 open source packages ship an affected version, including kubevirt.io/kubevirt. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-33394 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-33394 is a medium-severity code injection vulnerability in n/a, published on 2 May 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-33394 and fix it if it is affected.\n\nWhat it is: CVE-2024-33394 is a medium-severity code injection vulnerability in n/a, published on 2 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-33394 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-33394/ (Markdown: https://insights.sbomify.com/CVE-2024-33394/index.md)","id":"CVE-2024-33394","markdown":"https://insights.sbomify.com/CVE-2024-33394/index.md","name":"CVE-2024-33394","record":{"aliases":["AZL-64787","AZL-64791","GHSA-4q63-mr2m-57hf","GO-2024-2816","MINI-2g58-mm6j-mr7r","MINI-m52v-36g6-m7j9","SUSE-SU-2024:2246-1","SUSE-SU-2024:2318-1","openSUSE-SU-2024:14058-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"KubeVirt virtualization","requires_auth":"none","summary":"A local attacker can execute arbitrary code in KubeVirt by sending a crafted command to retrieve the token component.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"kubevirt","vendor":"kubevirt"}],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"An issue in kubevirt kubevirt v1.2.0 and before allows a local attacker to execute arbitrary code via a crafted command to get the token component.","ecosystems":["Go","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Containers 15 SP5","SUSE:Linux Enterprise Module for Containers 15 SP6","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"kubevirt allows a local attacker to execute arbitrary code via a crafted command","id":"CVE-2024-33394","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":9,"n_references":1,"next":{"headline":"karmada vulnerable to arbitrary code execution via a crafted command","id":"CVE-2024-33396"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","source":"GO-2024-2816"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.2.0"],"package":"kubevirt.io/kubevirt","purl":null,"source":"GHSA-4q63-mr2m-57hf"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.2.0"],"package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","source":"GHSA-4q63-mr2m-57hf"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["1.1.1-150500.8.18.1"],"introduced":["0"],"last_affected":[],"package":"kubevirt","purl":"pkg:rpm/suse/kubevirt\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:2246-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP5","fixed":["1.1.1-150500.8.18.1"],"introduced":["0"],"last_affected":[],"package":"kubevirt","purl":"pkg:rpm/suse/kubevirt\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP5","source":"SUSE-SU-2024:2246-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP6","fixed":["1.1.1-150600.5.3.2"],"introduced":["0"],"last_affected":[],"package":"kubevirt","purl":"pkg:rpm/suse/kubevirt\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP6","source":"SUSE-SU-2024:2318-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.1.1-150500.8.18.1"],"introduced":["0"],"last_affected":[],"package":"kubevirt","purl":"pkg:rpm/opensuse/kubevirt\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:2246-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.1.1-150600.5.3.2"],"introduced":["0"],"last_affected":[],"package":"kubevirt","purl":"pkg:rpm/opensuse/kubevirt\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:2318-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.2.2-2.1"],"introduced":["0"],"last_affected":[],"package":"kubevirt","purl":"pkg:rpm/opensuse/kubevirt\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14058-1"}],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2024-33393"},"products":["n/a"],"published":"2024-05-02","related":[{"cvss_score":9.9,"headline":"Privilege Escalation in kubevirt","id":"CVE-2020-14316","kev_date_added":null,"published":"2020-07-29"},{"cvss_score":8.7,"headline":"Path Traversal vulnerability in Kubevirt","id":"CVE-2022-1798","kev_date_added":null,"published":"2022-09-15"},{"cvss_score":8.5,"headline":"KubeVirt Vulnerable to Arbitrary Host File Read and Write","id":"CVE-2025-64324","kev_date_added":null,"published":"2025-11-18"},{"cvss_score":8.2,"headline":"On a compromised KubeVirt node, the virt-handler service account can be used to modify all node specs","id":"CVE-2023-26484","kev_date_added":null,"published":"2023-03-15"},{"cvss_score":7.3,"headline":"Path traversal in Red Hat Container Native Virtualization 4.12","id":"CVE-2026-13201","kev_date_added":null,"published":"2026-06-24"},{"cvss_score":6.9,"headline":"KubeVirt Excessive Role Permissions Could Enable Unauthorized VMI Migrations Between Nodes","id":"CVE-2025-64436","kev_date_added":null,"published":"2025-11-07"},{"cvss_score":6.5,"headline":"Auth bypass in Red Hat OpenShift Virtualization 4","id":"CVE-2026-13208","kev_date_added":null,"published":"2026-06-24"}],"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":"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"A local attacker can execute arbitrary code in KubeVirt by sending a crafted command to retrieve the token component.","url":"https://insights.sbomify.com/CVE-2024-33394/"}