Vulnerability · Published Mar 20, 2025 · Assigned by kubernetes
CVE-2024-7598Network restriction bypass via race condition during namespace termination
Low 3.1
In plain English
A low-severity race condition in kube-apiserver from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | kubernetes | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2024-7598 |
| Debian:13 | kubernetes | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2024-7598 |
| Debian:14 | kubernetes | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2024-7598 |
| Go | k8s.io/kubernetes | no fix listed | GO-2025-3547 |
| Go | k8s.io/kubernetes/cmd/kube-apiserver | no fix listed | GHSA-r56h-j38w-hrqq |
| Ubuntu:22.04:LTS | kubernetes | no fix listed | UBUNTU-CVE-2024-7598 |
| Ubuntu:24.04:LTS | kubernetes | no fix listed | UBUNTU-CVE-2024-7598 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | kube-apiserver | 1.3.0 |
Weakness: CWE-362 · Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/kubernetes/kubernetes/issues/126587 issue-tracking, vendor-advisory
- https://groups.google.com/g/kubernetes-security-announce/c/67D7UFqiPRc mailing-list
- http://www.openwall.com/lists/oss-security/2025/03/20/2