Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cilium/cilium
  4. ›
  5. CVE-2024-42487

CVE-2024-42487: Gateway API route matching order contradicts specification

August 15, 2024 (updated September 30, 2024)

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.

References

  • github.com/advisories/GHSA-qcm3-7879-xcww
  • github.com/cilium/cilium
  • github.com/cilium/cilium/commit/a3510fe4a92305822aa1a5e08cb6d6c873c8699a
  • github.com/cilium/cilium/commit/d88772b9c29e370becbc4547cada6711d51edcde
  • github.com/cilium/cilium/commit/fe42273566a943a0f3174c87b23a195c856b51d6
  • github.com/cilium/cilium/pull/34109
  • github.com/cilium/cilium/security/advisories/GHSA-qcm3-7879-xcww
  • nvd.nist.gov/vuln/detail/CVE-2024-42487

Code Behaviors & Features

Detect and mitigate CVE-2024-42487 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.15.0 before 1.15.8, all versions starting from 1.16.0 before 1.16.1, version 1.16.0

Fixed versions

  • 1.16.1
  • 1.15.8

Solution

Upgrade to versions 1.15.8, 1.16.1 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')
  • CWE-436: Interpretation Conflict

Source file

go/github.com/cilium/cilium/CVE-2024-42487.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:56 +0000.