{"id":"CVE-2023-41333","published":"2023-09-26T20:19:34Z","modified":"2024-09-23T20:32:01Z","title":"Bypass of namespace restrictions in CiliumNetworkPolicy","vendor":"cilium","product":"cilium","tier":"tail","description":{"text":"Cilium is a networking, observability, and security solution with an eBPF-based dataplane. An attacker with the ability to create or modify CiliumNetworkPolicy objects in a particular namespace is able to affect traffic on an entire Cilium cluster, potentially bypassing policy enforcement in other namespaces. By using a crafted `endpointSelector` that uses the `DoesNotExist` operator on the `reserved:init` label, the attacker can create policies that bypass namespace restrictions and affect the entire Cilium cluster. This includes potentially allowing or denying all traffic. This attack requires API server access, as described in the Kubernetes API Server Attacker section of the Cilium Threat Model. This issue has been resolved in Cilium versions 1.14.2, 1.13.7, and 1.12.14. As a workaround an admission webhook can be used to prevent the use of `endpointSelectors` that use the `DoesNotExist` operator on the `reserved:init` label in CiliumNetworkPolicies.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00482,"percentile":0.4248,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/cilium/cilium/security/advisories/GHSA-4xp2-w642-7mcx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cilium/cilium/pull/28007","tags":["x_refsource_MISC"]},{"url":"https://docs.cilium.io/en/stable/security/threat-model/#kubernetes-api-server-attacker","tags":["x_refsource_MISC"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":8.5},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"cilium","affectedVersions":[{"vendor":"cilium","product":"cilium","versions":[">= 1.14.0, < 1.14.2",">= 1.13.0, < 1.13.7","< 1.12.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-23T20:31:48.503484Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/cilium/cilium","vulnerableRanges":[">=1.14.0, <1.14.2",">=1.13.0, <1.13.7","<1.12.14"],"patched":["1.14.2","1.13.7","1.12.14"],"from":["GHSA-4xp2-w642-7mcx","GO-2023-2080"],"provenance":"source"}],"summary":{"text":"The flaw is a namespace-restriction bypass in the CiliumNetworkPolicy component of Cilium, a networking, observability, and security solution with an eBPF-based dataplane. An attacker who can create or modify CiliumNetworkPolicy objects in one namespace can use a crafted endpointSelector that uses the DoesNotExist operator on the reserved:init label to bypass policy enforcement in other namespaces and affect traffic across the entire cluster, including allowing or denying all traffic, and this requires API server access (with the attacker holding high privileges in the namespace).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:54Z"},"euvd":{"id":"EUVD-2023-2423","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-30851","published":"2023-05-25","fixed":"1.13.2","kev":false,"link":{"from":"CVE-2023-30851","to":"CVE-2023-41333","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/cilium/cilium","fromFixed":"1.12.9","toFixed":"1.12.14","daysApart":124}]}},{"cve":"CVE-2023-34242","published":"2023-06-15","fixed":"1.13.4","kev":false,"link":{"from":"CVE-2023-34242","to":"CVE-2023-41333","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/cilium/cilium","fromFixed":"1.13.4","toFixed":"1.13.7","daysApart":103}]}},{"cve":"CVE-2023-39347","published":"2023-09-26","fixed":"1.14.2","kev":false},{"cve":"CVE-2023-41332","published":"2023-09-26","fixed":"1.14.2","kev":false},{"cve":"CVE-2023-41333","published":"2023-09-26","fixed":"1.14.2","kev":false},{"cve":"CVE-2024-25630","published":"2024-02-20","fixed":"1.14.7","kev":false},{"cve":"CVE-2024-25631","published":"2024-02-20","fixed":"1.14.7","kev":false},{"cve":"CVE-2024-28248","published":"2024-03-18","fixed":"1.15.2","kev":false}],"package":"Go:github.com/cilium/cilium"}}