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.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.5%top 54.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/cilium/cilium1.16.1GHSA-qcm3-7879-xcww
Gogithub.com/cilium/cilium1.15.8GHSA-qcm3-7879-xcww
Gogithub.com/cilium/cilium1.15.8, 1.16.1GO-2024-3071

Affected products (as reported)

VendorProductVersions
cilium cilium = 1.16.0>= 1.15.0, < 1.15.8

Weakness: CWE-113 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N

References