Skip to content
Heist/ feed
Back to feed
Medium

Cilium's Gateway API route matching order contradicts specification

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-42487
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:59 UTC · Revision 1

Source evidence

Cilium's Gateway API route matching order contradicts specification

core-osv · Original source

Published 15 Aug 2024, 20:26 UTC

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.

osv:CVE-2024-42487
Complete source record
{
  "id": "b5108cd459b34d7bedc109222c82cfec6064c5b6122ff76c32fc03dea75b1153",
  "url": "https://osv.dev/vulnerability/CVE-2024-42487",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Cilium's Gateway API route matching order contradicts specification",
    "summary": "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.",
    "evidence": "osv:CVE-2024-42487",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-42487",
      "aliases": [
        "BIT-cilium-2024-42487",
        "BIT-cilium-operator-2024-42487",
        "BIT-hubble-relay-2024-42487",
        "CVE-2024-42487",
        "GHSA-qcm3-7879-xcww",
        "GO-2024-3071"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cilium/cilium",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2db45c468981a863b230186ad37d44e5a7c08d61"
                },
                {
                  "fixed": "e6291578f4104127b932365f5bf0fd61ff772f40"
                },
                {
                  "introduced": "82999990bc954699cf24853ef9747d9166ee24c8"
                },
                {
                  "fixed": "a3510fe4a92305822aa1a5e08cb6d6c873c8699a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cilium:cilium:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.15.0"
                      },
                      {
                        "fixed": "1.15.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:cilium:cilium:1.16.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.16.0"
                      },
                      {
                        "last_affected": "1.16.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a3510fe4a92305822aa1a5e08cb6d6c873c8699a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.16.0",
            "= 1.16.0",
            "v1.15.7",
            "1.15.7",
            "v1.15.6",
            "1.15.6",
            "v1.15.5",
            "1.15.5",
            "v1.15.4",
            "1.15.4",
            "v1.15.3",
            "1.15.3",
            "v1.15.2",
            "1.15.2",
            "v1.15.1",
            "1.15.1",
            "v1.15.0",
            "1.15.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42487.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.924869633Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42487.json",
        "https://github.com/cilium/cilium/security/advisories/GHSA-qcm3-7879-xcww",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-42487",
        "https://github.com/cilium/cilium/commit/a3510fe4a92305822aa1a5e08cb6d6c873c8699a",
        "https://github.com/cilium/cilium/pull/34109"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-113"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42487.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-42487",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490425,
  "published_at": "2024-08-15T20:26:53.455+00:00"
}