Vulnerability Details : CVE-2023-41333
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.
Products affected by CVE-2023-41333
- cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*
- cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*
- cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-41333
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 6 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-41333
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.1
|
HIGH | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H |
1.7
|
5.8
|
NIST | |
6.9
|
MEDIUM | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:H |
1.7
|
4.7
|
GitHub, Inc. |
CWE ids for CVE-2023-41333
-
The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-41333
-
https://github.com/cilium/cilium/pull/28007
k8s: Restrict configuring reserved:init policy via CNP by joestringer · Pull Request #28007 · cilium/cilium · GitHubIssue Tracking;Patch
-
https://docs.cilium.io/en/stable/security/threat-model/#kubernetes-api-server-attacker
Threat Model — Cilium 1.14.2 documentationProduct
-
https://github.com/cilium/cilium/security/advisories/GHSA-4xp2-w642-7mcx
Bypass of namespace restrictions in CiliumNetworkPolicy · Advisory · cilium/cilium · GitHubMitigation;Patch;Third Party Advisory
Jump to