CVE-2024-42487
Cilium's Gateway API route matching order contradicts specification
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.
How to fix CVE-2024-42487
To remediate CVE-2024-42487, upgrade the affected package to a fixed version below.
- —upgrade to 1.16.1 or later
- —upgrade to 1.16.1 or later
- —upgrade to 1.16.1 or later
- —upgrade to 1.16.1 or later
- —upgrade to 1.15.8 or later
Is CVE-2024-42487 being exploited?
Low — EPSS is 1.8%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- >= 1.15.0, < 1.16.1
- >= 1.15.4, < 1.16.1
- >= 1.15.0, < 1.16.1
- >= 1.16.0, < 1.16.1
- >= 1.15.0, < 1.15.8, >= 1.16.0, < 1.16.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N |