{"answers":{"affected":"3 open source packages ship an affected version, including k8s.io/kubernetes/cmd/kube-apiserver and k8s.io/kubernetes.","exploited":"There is no known exploitation of CVE-2024-7598 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-7598 is a low-severity vulnerability in Kubernetes kube-apiserver, published on 20 Mar 2025. 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-7598 and fix it if it is affected.\n\nWhat it is: CVE-2024-7598 is a low-severity vulnerability in Kubernetes kube-apiserver, published on 20 Mar 2025. 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-7598 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- k8s.io/kubernetes/cmd/kube-apiserver (Go): affected from 1.3.0 up to 1.32.3; no fix listed\n- k8s.io/kubernetes/cmd/kube-apiserver (Go): affected from 1.3.0 up to 1.32.3; no fix listed\n- k8s.io/kubernetes (Go): affected from 1.3.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-7598/ (Markdown: https://insights.sbomify.com/CVE-2024-7598/index.md)","id":"CVE-2024-7598","markdown":"https://insights.sbomify.com/CVE-2024-7598/index.md","name":"CVE-2024-7598","record":{"aliases":["AZL-58953","AZL-58960","CLEANSTART-2026-RO24515","DEBIAN-CVE-2024-7598","ECHO-fd52-1a86-4159","GHSA-r56h-j38w-hrqq","GO-2025-3547","MINI-2f9m-h4qp-h9c8","MINI-2hvj-j4m7-qggg","MINI-3355-gh48-xp22","MINI-375p-42p4-x78r","MINI-39vr-2cr4-mqjr","MINI-3jgm-642g-5c7h","MINI-3mfp-3fvm-mxpr","MINI-4698-mcvp-25pg","MINI-4c7x-mcwh-7rc6","MINI-59h6-vm69-36mq","MINI-5c79-77r5-rrqv","MINI-5j3p-29w9-38fv","MINI-5rhj-qr73-qm6g","MINI-6426-xwvh-2qxv","MINI-645j-fgq3-vv5p","MINI-6769-2cp8-6x43","MINI-6rmf-8v2v-gqg8","MINI-6vrf-cm6f-23r3","MINI-723v-xwjj-xp2x","MINI-73v5-5pq4-qm2v","MINI-74mr-rq9w-cqh4","MINI-79p4-pvv9-q8cf","MINI-7c4x-5qf2-4h86","MINI-8c64-fp82-jrfx","MINI-8pqh-5w4f-62gw","MINI-8xq9-gj9g-8jgg","MINI-97q4-4mv2-8jcf","MINI-9953-7m86-6558","MINI-9hwq-g8j2-3wwh","MINI-9jfv-7f5m-g7vm","MINI-c9cr-2fhr-4vx9","MINI-cq46-287v-jg68","MINI-fgf4-cvwr-g3x6","MINI-fqw2-2j3r-4pjm","MINI-g5m3-prc2-pwhx","MINI-gcrf-3j3w-35wf","MINI-gpww-h6qc-vxhq","MINI-h6fw-q69c-vrjj","MINI-h9c5-42xm-r83q","MINI-hh52-h9pg-f4pm","MINI-hw3j-g3jh-3cpc","MINI-j92w-244h-5f2r","MINI-jgqc-4vq7-4gq6","MINI-jqxr-q5r4-v73g","MINI-jxmf-pf77-3v65","MINI-m43p-82r9-85v3","MINI-m5q4-56vv-49w7","MINI-mcq5-26qc-xg44","MINI-mh9x-fhm3-p4m3","MINI-mrwf-xfg5-783m","MINI-q7mf-4hm9-4ggw","MINI-r2ww-cj2x-fmpw","MINI-r89x-5hq6-g2rc","MINI-r9ch-gg67-94m7","MINI-rjqg-2mq8-mxcp","MINI-rwg4-9vmw-h5f8","MINI-rwhw-c4ff-ggr5","MINI-v7vw-6vj9-f672","MINI-v887-pv8q-h7fx","MINI-vmjp-vxpv-2994","MINI-vrgq-53x8-mwf3","MINI-ww57-8mcc-9cfw","MINI-x4qw-vpw3-m6r5","MINI-x6vv-f86j-q973","MINI-x9cq-jcxp-6hw2"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kubernetes cluster","requires_auth":"none","summary":"A race condition during namespace deletion allows compromised pods to bypass network policy restrictions temporarily.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"A security issue was discovered in Kubernetes where a malicious or compromised pod could bypass network restrictions enforced by network policies during namespace deletion. The order in which objects are deleted during namespace termination is not defined, and it is possible for network policies to be deleted before the pods that they protect. This can lead to a brief period in which the pods are running, but network policies that should apply to connections to and from the pods are not enforced.","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":"Network restriction bypass via race condition during namespace termination","id":"CVE-2024-7598","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"race_condition","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Advanced Sermons \u003c= 3.3 - Authenticated (Contributor+) Stored Cross-Site Scripting","id":"CVE-2024-7599"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["1.3.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GO-2025-3547"},{"ecosystem":"Go","fixed":[],"introduced":["1.3.0"],"last_affected":["1.32.3"],"package":"k8s.io/kubernetes/cmd/kube-apiserver","purl":null,"source":"GHSA-r56h-j38w-hrqq"},{"ecosystem":"Go","fixed":[],"introduced":["1.3.0"],"last_affected":["1.32.3"],"package":"k8s.io/kubernetes/cmd/kube-apiserver","purl":"pkg:golang/k8s.io/kubernetes/cmd/kube-apiserver","source":"GHSA-r56h-j38w-hrqq"}],"prev":{"headline":"Generic UDP Encapsulation (GUE) (IETF Draft) do not validate or verify the source of a network packet","id":"CVE-2024-7596"},"products":["kube-apiserver"],"published":"2025-03-20","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-03-20","vendors":["Kubernetes"]},"summary":"A race condition during namespace deletion allows compromised pods to bypass network policy restrictions temporarily.","url":"https://insights.sbomify.com/CVE-2024-7598/"}