CVE-2024-7598: Kubernetes kube-apiserver Vulnerable to Race Condition
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.
Published Mar 20, 2025 · Updated Mar 21, 2025
Affected packages
k8s.io/kubernetes/cmd/kube-apiserver
- Ecosystem
- Go
- Affected
- >= 1.3.0, <= 1.32.3
- Fixed in
- No patched version yet
- Check
go list -m k8s.io/kubernetes/cmd/kube-apiserver
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
