{"id":"GHSA-2h44-x2wx-49f4","revision":"093814b5161349ae88e3b269bd8e6429","records":[{"revision":"093814b5161349ae88e3b269bd8e6429","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-2h44-x2wx-49f4","aliases":["BIT-cilium-2023-30851","BIT-cilium-operator-2023-30851","BIT-cilium-proxy-2023-30851","BIT-hubble-2023-30851","BIT-hubble-relay-2023-30851","BIT-hubble-ui-2023-30851","BIT-hubble-ui-backend-2023-30851","CVE-2023-30851","GO-2023-1785"],"title":"Potential HTTP policy bypass when using header rules in Cilium","description":"### Impact\n\nThis issue only impacts users who:\n\n- Have a HTTP policy that applies to multiple `toEndpoints` AND\n- Have an allow-all rule in place that affects only one of those endpoints\n\nIn such cases, a wildcard rule will be appended to the set of HTTP rules, which could cause bypass of HTTP policies.\n\n### Patches\n\nThis issue has been patched in Cilium 1.11.16, 1.12.9, and 1.13.2.\n\n### Workarounds\n\nRewrite HTTP rules for each endpoint separately. For example, if the initial rule looks like:\n\n```\n  egress:\n    - toEndpoints:\n        - matchLabels:\n            k8s:kind: echo\n        - matchLabels:\n            k8s:kind: example\n      toPorts:\n        - ports:\n            - port: \"8080\"\n              protocol: TCP\n          rules:\n            http:\n              - method: \"GET\"\n```\n\nIt should be rewritten to:\n \n```\n  egress:\n    - toEndpoints:\n        - matchLabels:\n            k8s:kind: echo\n      toPorts:\n        - ports:\n            - port: \"8080\"\n              protocol: TCP\n          rules:\n            http:\n              - method: \"GET\"\n    - toEndpoints:\n        - matchLabels:\n            k8s:kind: example\n      toPorts:\n        - ports:\n            - port: \"8080\"\n              protocol: TCP\n          rules:\n            http:\n              - method: \"GET\"\n```     \n\n### Acknowledgements\n\nThe Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to @jrajahalme for investigating and fixing the issue.\n\n### For more information\n\nIf you have any questions or comments about this advisory, please reach out on [Slack](https://docs.cilium.io/en/latest/community/community/#slack).\n\nAs 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](mailto: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.\n","state":0,"publishedAt":"2023-05-22T20:33:15+00:00","modifiedAt":"2026-09-10T03:49:54.4856213+00:00","affected":[{"ecosystem":"Go","name":"github.com/cilium/cilium","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.11.16"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/cilium/cilium","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.12.0"},{"kind":"fixed","version":"1.12.9"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/cilium/cilium","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.13.0"},{"kind":"fixed","version":"1.13.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/cilium/cilium/security/advisories/GHSA-2h44-x2wx-49f4","https://nvd.nist.gov/vuln/detail/CVE-2023-30851","https://github.com/cilium/cilium","https://github.com/cilium/cilium/releases/tag/v1.11.16","https://github.com/cilium/cilium/releases/tag/v1.12.9","https://github.com/cilium/cilium/releases/tag/v1.13.2"],"sourceUrl":"https://github.com/advisories/GHSA-2h44-x2wx-49f4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2h44-x2wx-49f4","identifiers":["GHSA-2h44-x2wx-49f4","BIT-cilium-2023-30851","BIT-cilium-operator-2023-30851","BIT-cilium-proxy-2023-30851","BIT-hubble-2023-30851","BIT-hubble-relay-2023-30851","BIT-hubble-ui-2023-30851","BIT-hubble-ui-backend-2023-30851","CVE-2023-30851","GO-2023-1785"]},"retained":false,"historicalAffected":[]}],"coverage":[]}