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.

Severity (CVSS 3.1)3.1Low
Exploit odds (30 days)0.3%top 74.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2024-7598
Debian:13kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2024-7598
Debian:14kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2024-7598
Gok8s.io/kubernetesno fix listedGO-2025-3547
Gok8s.io/kubernetes/cmd/kube-apiserverno fix listedGHSA-r56h-j38w-hrqq
Ubuntu:22.04:LTSkubernetesno fix listedUBUNTU-CVE-2024-7598
Ubuntu:24.04:LTSkubernetesno fix listedUBUNTU-CVE-2024-7598

Affected products (as reported)

VendorProductVersions
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