CVE-2024-7598 Details
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.
A vulnerability exists in Kubernetes that allows a malicious or compromised pod to circumvent network restrictions imposed by network policies during the deletion of a namespace. The deletion order of objects during namespace termination is undefined, which can result in network policies being removed before the pods they protect. This creates a temporary window where the pods can operate and accept network connections without the appropriate policy enforcement.
To mitigate this vulnerability, manually delete pods and workload resources that manage pods before initiating namespace deletion. Alternatively, add finalizers to network policies to ensure they are not deleted until the associated pods have been removed. A proof-of-concept controller to automate this process is available on GitHub.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 20, 2025CISA-ADP
Assessed Mar 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/03/20/2 | CVE | AdvisoryMailing ListRemedy |
| https://github.com/kubernetes/kubernetes/issues/126587 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://groups.google.com/g/kubernetes-security-announce/c/67D7UFqiPRc | [email protected] | AdvisoryMailing ListRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Kubernetes | >= v1.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 20, 2025 | CVE Modified | CVE |
| Mar 20, 2025 | New CVE Received | [email protected] |
Volerion