2.6low
Potential HTTP policy bypass when using header rules in Cilium
- Severity
- 2.6low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.66% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2h44-x2wx-49f4BIT-CILIUM-2023-30851BIT-CILIUM-OPERATOR-2023-30851BIT-CILIUM-PROXY-2023-30851BIT-HUBBLE-2023-30851BIT-HUBBLE-RELAY-2023-30851BIT-HUBBLE-UI-2023-30851BIT-HUBBLE-UI-BACKEND-2023-30851GO-2023-1785
Description
Cilium is a networking, observability, and security solution with an eBPF-based dataplane. This issue only impacts users who have a HTTP policy that applies to multiple `toEndpoints` AND have an allow-all rule in place that affects only one of those endpoints. In such cases, a wildcard rule will be appended to the set of HTTP rules, which could cause bypass of HTTP policies. This issue has been patched in Cilium 1.11.16, 1.12.9, and 1.13.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cilium cilium | < 1.11.16, >= 1.12.0, < 1.12.9, >= 1.13.0, < 1.13.2, before 1.11.16, from 1.12.0 before 1.12.9, from 1.13.0 before 1.13.2 | CVE List, NVD |
| github.com/cilium/cilium (Go) | before 1.11.16, from 1.12.0 before 1.12.9, from 1.13.0 before 1.13.2 | GitHub Advisory Database, Go Vulnerability Database |
| cilium (Bitnami) | before 1.11.16, from 1.12.0 before 1.12.9, from 1.13.0 before 1.13.2 | Bitnami Vulnerability Database |
| cilium-operator (Bitnami) | before 1.11.16, from 1.12.0 before 1.12.9, from 1.13.0 before 1.13.2 | Bitnami Vulnerability Database |
| cilium-proxy (Bitnami) | before 1.11.16, from 1.12.0 before 1.12.9, from 1.13.0 before 1.13.2 | Bitnami Vulnerability Database |
| hubble (Bitnami) | before 1.11.16, from 1.12.0 before 1.12.9, from 1.13.0 before 1.13.2 | Bitnami Vulnerability Database |
| hubble-relay (Bitnami) | before 1.11.16, from 1.12.0 before 1.12.9, from 1.13.0 before 1.13.2 | Bitnami Vulnerability Database |
| hubble-ui (Bitnami) | before 1.11.16, from 1.12.0 before 1.12.9, from 1.13.0 before 1.13.2 | Bitnami Vulnerability Database |
| hubble-ui-backend (Bitnami) | before 1.11.16, from 1.12.0 before 1.12.9, from 1.13.0 before 1.13.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 2.6low CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Cilium is a networking, observability, and security solution with an eBPF-based dataplane. This issue only impacts users who have a HTTP policy that applies to multiple `toEndpoints` AND have an allow-all rule in place that affects only one of those endpoints. In such cases, a wildcard rule will be appended to the set of HTTP rules, which could cause bypass of HTTP policies. This issue has been patched in Cilium 1.11.16, 1.12.9, and 1.13.2.
GitHub Advisory Database
Impact
This issue only impacts users who:
- Have a HTTP policy that applies to multiple
toEndpointsAND - Have an allow-all rule in place that affects only one of those endpoints
In such cases, a wildcard rule will be appended to the set of HTTP rules, which could cause bypass of HTTP policies.
Patches
This issue has been patched in Cilium 1.11.16, 1.12.9, and 1.13.2.
Workarounds
Rewrite HTTP rules for each endpoint separately. For example, if the initial rule looks like:
egress:
- toEndpoints:
- matchLabels:
k8s:kind: echo
- matchLabels:
k8s:kind: example
toPorts:
- ports:
- port: "8080"
protocol: TCP
rules:
http:
- method: "GET"
It should be rewritten to:
egress:
- toEndpoints:
- matchLabels:
k8s:kind: echo
toPorts:
- ports:
- port: "8080"
protocol: TCP
rules:
http:
- method: "GET"
- toEndpoints:
- matchLabels:
k8s:kind: example
toPorts:
- ports:
- port: "8080"
protocol: TCP
rules:
http:
- method: "GET"
Acknowledgements
The Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to @jrajahalme for investigating and fixing the issue.
For more information
If you have any questions or comments about this advisory, please reach out on Slack.
As usual, if you think you found a related vulnerability, we strongly encourage you to report security vulnerabilities to our private security mailing list: security@cilium.io - first, before disclosing them in any public forums. This is a private mailing list where only members of the Cilium internal security team are subscribed to, and is treated as top priority.
Go Vulnerability Database
Potential HTTP policy bypass when using header rules in Cilium in github.com/cilium/cilium
References
| https://github.com/cilium/cilium/security/advisories/GHSA-2h44-x2wx-49f4 | advisory, vendor-advisory, web | |
| https://github.com/cilium/cilium/releases/tag/v1.11.16 | article, release-notes, web | |
| https://github.com/cilium/cilium/releases/tag/v1.12.9 | article, release-notes, web | |
| https://github.com/cilium/cilium/releases/tag/v1.13.2 | article, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-30851 | advisory, web | |
| https://github.com/cilium/cilium | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-30851 changed 2025-01-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2h44-x2wx-49f4 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-1785 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2023-30851 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-CILIUM-2023-30851 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-CILIUM-OPERATOR-2023-30851 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-CILIUM-PROXY-2023-30851 changed 2024-08-20 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-HUBBLE-2023-30851 changed 2024-08-20 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-HUBBLE-RELAY-2023-30851 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-HUBBLE-UI-2023-30851 changed 2024-08-20 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-HUBBLE-UI-BACKEND-2023-30851 changed 2024-08-20 | Apache-2.0 |