github.com/cilium/cilium
Affected
- introduced
1.16.0, fixed1.16.1(semver)
Fixed versions
1.16.1
Fix
- Fixed version
1.16.1go get github.com/cilium/[email protected]
Advisory
Also known as: BIT-cilium-2024-42487, BIT-cilium-operator-2024-42487, BIT-hubble-relay-2024-42487, CVE-2024-42487, GO-2024-3071
Gateway API route matching order contradicts specification
Impact
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 (HTTPRouteRule, GRPCRouteRule).
If 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.
Patches
This issue was fixed in https://github.com/cilium/cilium/pull/34109.
This issue affects:
This issue is fixed in:
Workarounds
There is no workaround for this issue.
Acknowledgements
The Cilium community has worked together with members of Cure53 and Isovalent to prepare these mitigations. Special thanks to @sayboras for remediating this issue.
Further information
If you have any questions or comments about this advisory, please reach out on Slack.
If you think you have found a vulnerability affecting Cilium, we strongly encourage you to report it to our security mailing list at [[email protected]](mailto:[email protected]). This is a private mailing list for the Cilium security team, and your report will be treated as top priority.
Medium Basis: The source's own band: MODERATE
1.16.0, fixed 1.16.1 (semver)1.16.1
1.16.1go get github.com/cilium/[email protected]1.15.0, fixed 1.15.8 (semver)1.15.8
1.15.8go get github.com/cilium/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0