{"id":"CVE-2024-42487","aliases":["CVE-2024-42487","GHSA-qcm3-7879-xcww","BIT-CILIUM-2024-42487","BIT-CILIUM-OPERATOR-2024-42487","BIT-HUBBLE-RELAY-2024-42487","GO-2024-3071"],"related":["CGA-rfj6-m3g2-5hx6"],"kind":"vulnerability","state":"published","title":"Cilium's Gateway API route matching order contradicts specification","summary":"Cilium is a networking, observability, and security solution with an eBPF-based dataplane. In the 1.15 branch prior to 1.15.8 and the 1.16 branch prior to 1.16.1, Gateway API HTTPRoutes and GRPCRoutes do not follow the match precedence specified in the Gateway API specification. In particular, request headers are matched before request methods, when the specification describes that the request methods must be respected before headers are matched. This could result in unexpected behaviour with security This issue is fixed in Cilium v1.15.8 and v1.16.1. There is no workaround for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cilium is a networking, observability, and security solution with an eBPF-based dataplane. In the 1.15 branch prior to 1.15.8 and the 1.16 branch prior to 1.16.1, Gateway API HTTPRoutes and GRPCRoutes do not follow the match precedence specified in the Gateway API specification. In particular, request headers are matched before request methods, when the specification describes that the request methods must be respected before headers are matched. This could result in unexpected behaviour with security This issue is fixed in Cilium v1.15.8 and v1.16.1. There is no workaround for this issue.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nGateway API HTTPRoutes and GRPCRoutes do not follow the match precedence specified in the Gateway API specification. In particular, request headers are matched before request methods, when the specification describes that the request methods must be respected before headers are matched ([HTTPRouteRule](https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteRule), [GRPCRouteRule](https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io%2fv1.GRPCRouteRule)).\n\nIf users create Gateway API resources that use both request headers and request methods in order to route to different destinations, then traffic may be delivered to the incorrect backend. If the backend does not have Network Policy restricting acceptable traffic to receive, then requests may access information that you did not intend for them to access.\n\n### Patches\n\nThis issue was fixed in https://github.com/cilium/cilium/pull/34109.\n\nThis issue affects:\n- Cilium v1.15 between v1.15.0 and v1.15.7 inclusive\n- Cilium v1.16.0\n\nThis issue is fixed in:\n- Cilium v1.15.8\n- Cilium v1.16.1\n\n### Workarounds\n\nThere is no workaround for this issue.\n\n### Acknowledgements\n\nThe Cilium community has worked together with members of Cure53 and Isovalent to prepare these mitigations. Special thanks to @sayboras for remediating this issue.\n\n### Further 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\nIf you think you have found a vulnerability affecting Cilium, we strongly encourage you to report it to our security mailing list at [security@cilium.io](mailto:security@cilium.io). This is a private mailing list for the Cilium security team, and your report will be treated as top priority.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Gateway API route matching order contradicts specification in github.com/cilium/cilium","format":"markdown","source":"go"},{"lang":"es","text":"Cilium es una solución de redes, observabilidad y seguridad con un plano de datos basado en eBPF. En la rama 1.15 anterior a 1.15.8 y en la rama 1.16 anterior a 1.16.1, las HTTPRoutes y GRPCRoutes de la API de puerta de enlace no siguen la precedencia de coincidencia especificada en la especificación de la API de puerta de enlace. En particular, los encabezados de solicitud coinciden antes que los métodos de solicitud, cuando la especificación describe que los métodos de solicitud deben respetarse antes de que coincidan los encabezados. Esto podría provocar un comportamiento inesperado con la seguridad. Este problema se solucionó en Cilium v1.15.8 y v1.16.1. No existe ninguna solución para este problema.","source":"nvd"}],"published":"2024-08-15T20:26:53.455Z","modified":"2026-09-10T03:50:18.772Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","score":4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","score":4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-113","CWE-436"],"affected":[{"ranges":[{"version":"= 1.16.0","status":"affected"},{"version":">= 1.15.0, < 1.15.8","status":"affected"}],"vendor":"cilium","product":"cilium","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.16.0","status":"affected","fixed":"1.16.1"}],"ecosystem":"Go","package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.15.0","status":"affected","fixed":"1.15.8"}],"ecosystem":"Go","package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.15.0","status":"affected","fixed":"1.15.8"},{"type":"semver","introduced":"1.16.0","status":"affected","fixed":"1.16.1"}],"ecosystem":"Go","package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"go"},{"ranges":[{"status":"affected","introduced":"1.15.0","fixed":"1.15.8"},{"status":"affected","version":"1.16.0"}],"vendor":"cilium","product":"cilium","cpe":"cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.15.0","status":"affected","fixed":"1.16.1"}],"ecosystem":"Bitnami","package":"cilium","purl":"pkg:bitnami/cilium","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"1.15.4","status":"affected","fixed":"1.16.1"}],"ecosystem":"Bitnami","package":"cilium-operator","purl":"pkg:bitnami/cilium-operator","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"1.15.0","status":"affected","fixed":"1.16.1"}],"ecosystem":"Bitnami","package":"hubble-relay","purl":"pkg:bitnami/hubble-relay","source":"bitnami"}],"references":[{"url":"https://github.com/cilium/cilium/security/advisories/GHSA-qcm3-7879-xcww","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/cilium/cilium/pull/34109","tags":["advisory","fix","patch","third-party-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/cilium/cilium/commit/a3510fe4a92305822aa1a5e08cb6d6c873c8699a","tags":["advisory","fix","patch","third-party-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42487","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/cilium/cilium/commit/d88772b9c29e370becbc4547cada6711d51edcde","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/cilium/cilium/commit/fe42273566a943a0f3174c87b23a195c856b51d6","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/cilium/cilium","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-15T20:46:25.530Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42487","url":"https://www.cve.org/CVERecord?id=CVE-2024-42487","licence":"CVE Terms of Use","modified":"2024-08-15T20:46:34.910Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qcm3-7879-xcww","url":"https://github.com/advisories/GHSA-qcm3-7879-xcww","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:18.772Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3071","url":"https://pkg.go.dev/vuln/GO-2024-3071","licence":"CC-BY-4.0","modified":"2026-02-04T02:38:24.475Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42487","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42487","licence":"Public domain","modified":"2026-06-17T07:49:32.767Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CILIUM-2024-42487","url":"https://osv.dev/vulnerability/BIT-CILIUM-2024-42487","licence":"Apache-2.0","modified":"2026-09-08T08:45:55.969Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CILIUM-OPERATOR-2024-42487","url":"https://osv.dev/vulnerability/BIT-CILIUM-OPERATOR-2024-42487","licence":"Apache-2.0","modified":"2026-09-08T08:45:17.346Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-HUBBLE-RELAY-2024-42487","url":"https://osv.dev/vulnerability/BIT-HUBBLE-RELAY-2024-42487","licence":"Apache-2.0","modified":"2026-09-08T08:48:23.058Z"}],"updatedAt":"2026-11-25T22:58:44.425Z","epss":{"score":0.00535,"percentile":0.46621,"date":"2026-12-01T12:00:22.000Z"}}