Skip to content
OpenAdvisories
Medium · 4.0 CVE-2024-42487 BIT-cilium-2024-42487BIT-cilium-operator-2024-42487BIT-hubble-relay-2024-42487EUVD-2024-2632GHSA-qcm3-7879-xcwwGO-2024-3071

Cilium's Gateway API route matching order contradicts specification

Published Aug 15, 2024 · Updated Aug 15, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
cilium cilium = 1.16.0, >= 1.15.0, < 1.15.8 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling cilium-cli 0.16.15-r2 —
Wolfi rolling hubble +1 1.16.0-r1 —
Wolfi rolling hubble-ui +1 0.13.1-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cilium/cilium >= 1.16.0, < 1.16.1 1.16.1 GHSA-qcm3-7879-xcww
Go github.com/cilium/cilium >= 1.15.0, < 1.15.8 1.15.8 GHSA-qcm3-7879-xcww
Go github.com/cilium/cilium >= 1.15.0, < 1.15.8 · >= 1.16.0, < 1.16.1 1.15.8, 1.16.1 GO-2024-3071

References