VDB

CVE-2024-42487

CVE-2024-42487 PUBLISHED CVSS 4 MEDIUM

Cilium's Gateway API route matching order contradicts specification

Reported by github_m · Published August 15, 2024

github.com/cilium/cilium is fixed in 1.16.1 and 1.15.8 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/cilium/ciliumGo Modules1.16.1, 1.15.8
hubble-uiChainguard0.13.1-r5
hubble-uiWolfi0.13.1-r5
cilium-1.15Chainguard1.15.19-r3
ciliumBitnami1.16.1
hubble-ui-backend-fipsChainguard0.13.1-r5
cilium-cliChainguard0.16.15-r2
hubbleWolfi1.16.0-r1
ciliumcilium1.15.8

Risk scores

CVSS 3.1
4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected products

VendorProductVersions
ciliumcilium= 1.16.0, >= 1.15.0, < 1.15.8
chainguardhubble-ui0
wolfihubble-ui0
chainguardcilium-1.150
chainguardhubble-ui-backend-fips0
chainguardcilium-cli0
wolfihubble0
wolficilium-1.160
chainguardcilium-1.160
wolficilium-1.150
chainguardcilium-fips-1.150
wolficilium-cli0
github.comcilium/cilium1.16.0, 1.15.0, 1.16.0
chainguardhubble-fips0
chainguardhubble-ui-backend0
chainguardcilium-fips-1.160
ciliumcilium1.16.0, 1.15.0
chainguardhubble0

Timeline

  • Aug 15, 2024 CVE Published
  • Aug 15, 2024 CVE Updated
  • Aug 16, 2024 EPSS Score (30 in total, the first dated here)
  • Aug 16, 2024 PoC Published
  • Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Jan 6, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-42487
vulnetix vdb fixes CVE-2024-42487

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42487/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›