{"answers":{"affected":"9 open source packages ship an affected version, including k8s.io/kubernetes.","exploited":"There is no known exploitation of CVE-2024-9042 in the wild and no public exploit code.","fix":"Upgrade k8s.io/kubernetes to a fixed version for your release line: 1.29.13, 1.30.9, 1.31.5 or 1.32.1.","what":"CVE-2024-9042 is a medium-severity vulnerability in Kubernetes Kubelet, published on 13 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-9042 and fix it if it is affected.\n\nWhat it is: CVE-2024-9042 is a medium-severity vulnerability in Kubernetes Kubelet, published on 13 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-9042 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.29.13, 1.30.9, 1.31.5, 1.32.1\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.29.13\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.29.13\n- k8s.io/kubernetes (Go): affected from 1.30.0-alpha.0; fixed in 1.30.9\n- k8s.io/kubernetes (Go): affected from 1.30.0-alpha.0; fixed in 1.30.9\n- k8s.io/kubernetes (Go): affected from 1.31.0-alpha.0; fixed in 1.31.5\n- k8s.io/kubernetes (Go): affected from 1.31.0-alpha.0; fixed in 1.31.5\n- k8s.io/kubernetes (Go): affected from 1.32.0-alpha.0; fixed in 1.32.1\n- k8s.io/kubernetes (Go): affected from 1.32.0-alpha.0; fixed in 1.32.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-2024-9042/ (Markdown: https://insights.sbomify.com/CVE-2024-9042/index.md)","id":"CVE-2024-9042","markdown":"https://insights.sbomify.com/CVE-2024-9042/index.md","name":"CVE-2024-9042","record":{"aliases":["CLEANSTART-2026-ZW38878","ECHO-0ded-644a-1f25","GHSA-vv39-3w5q-974q","GO-2025-3522","MINI-4wvr-cc83-2cp5","MINI-6hq3-8g62-9rcv","MINI-9299-2m4g-jm8h","MINI-wpcq-m8wg-ff5f"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes Kubelet","requires_auth":"high_privilege","summary":"A vulnerability in Kubernetes Kubelet on Windows worker nodes can lead to denial of service, requiring an upgrade to mitigate.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"This CVE affects only Windows worker nodes. Your worker node is vulnerable to this issue if it is running one of the affected versions listed below.","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":true,"headline":"Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API","id":"CVE-2024-9042","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2024"},"n_packages":9,"n_references":2,"next":{"headline":"Cellopoint Secure Email Gateway - Buffer Overflow","id":"CVE-2024-9043"},"packages":[{"ecosystem":"Go","fixed":["1.29.13","1.30.9","1.31.5","1.32.1"],"introduced":["0","1.30.0-alpha.0","1.31.0-alpha.0","1.32.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GO-2025-3522"},{"ecosystem":"Go","fixed":["1.29.13"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-vv39-3w5q-974q"},{"ecosystem":"Go","fixed":["1.29.13"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-vv39-3w5q-974q"},{"ecosystem":"Go","fixed":["1.30.9"],"introduced":["1.30.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-vv39-3w5q-974q"},{"ecosystem":"Go","fixed":["1.30.9"],"introduced":["1.30.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-vv39-3w5q-974q"},{"ecosystem":"Go","fixed":["1.31.5"],"introduced":["1.31.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-vv39-3w5q-974q"},{"ecosystem":"Go","fixed":["1.31.5"],"introduced":["1.31.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-vv39-3w5q-974q"},{"ecosystem":"Go","fixed":["1.32.1"],"introduced":["1.32.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-vv39-3w5q-974q"},{"ecosystem":"Go","fixed":["1.32.1"],"introduced":["1.32.0-alpha.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-vv39-3w5q-974q"}],"prev":{"headline":"SourceCodester Best House Rental Management System ajax.php sql injection","id":"CVE-2024-9041"},"products":["Kubelet"],"published":"2025-03-13","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":"total"},"state":"PUBLISHED","updated":"2025-03-13","vendors":["Kubernetes"]},"summary":"A vulnerability in Kubernetes Kubelet on Windows worker nodes can lead to denial of service, requiring an upgrade to mitigate.","url":"https://insights.sbomify.com/CVE-2024-9042/"}