Vulnerability · Published Aug 15, 2024 · Assigned by GitHub_M
CVE-2024-42487Cilium's Gateway API route matching order contradicts specification
Medium 4.0
In plain English
A medium-severity security flaw in cilium from cilium. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/cilium/cilium | 1.16.1 | GHSA-qcm3-7879-xcww |
| Go | github.com/cilium/cilium | 1.15.8 | GHSA-qcm3-7879-xcww |
| Go | github.com/cilium/cilium | 1.15.8, 1.16.1 | GO-2024-3071 |
Affected products (as reported)
Weakness: CWE-113 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
References
- https://github.com/cilium/cilium/security/advisories/GHSA-qcm3-7879-xcww x_refsource_CONFIRM
- https://github.com/cilium/cilium/pull/34109 x_refsource_MISC
- https://github.com/cilium/cilium/commit/a3510fe4a92305822aa1a5e08cb6d6c873c8699a x_refsource_MISC