GHSA-wc5v-r48v-g4vh: Cilium host policy bypass in endpoint-routes mode with dual-stack
3.3
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
-
Published
7/15/2022
Updated
1/12/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/cilium/cilium | go | < 1.10.13 | 1.10.13 |
| github.com/cilium/cilium | go | >= 1.11.0, < 1.11.7 | 1.11.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from a typo in the BPF host firewall implementation where the wrong policy enforcement path was selected for dual-stack configurations. The commit diff shows the critical fix was changing CILIUM_CALL_IPV6_TO_HOST_POLICY_ONLY to CILIUM_CALL_IPV4_TO_HOST_POLICY_ONLY in the to_host_from_lxc function. This function handles traffic from pods to the host namespace, and the typo would cause misrouting of policy enforcement checks - particularly leaving IPv6 traffic unvalidated when it should have been subjected to host policies. The vulnerability manifests specifically when all four conditions are met (IPv4, IPv6, endpoint-routes, and host firewall enabled), as described in the advisory.