{"answers":{"affected":"8 open source packages ship an affected version, including github.com/cilium/cilium, cilium and cilium-operator. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-42487 in the wild and no public exploit code.","fix":"Upgrade github.com/cilium/cilium to a fixed version for your release line: 1.15.8 or 1.16.1.","what":"CVE-2024-42487 is a medium-severity vulnerability in cilium, published on 15 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-42487 and fix it if it is affected.\n\nWhat it is: CVE-2024-42487 is a medium-severity vulnerability in cilium, published on 15 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-42487 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cilium/cilium (Go): affected from 1.15.0; fixed in 1.15.8, 1.16.1\n- github.com/cilium/cilium (Go): affected from 1.15.0; fixed in 1.15.8\n- github.com/cilium/cilium (Go): affected from 1.15.0; fixed in 1.15.8\n- github.com/cilium/cilium (Go): affected from 1.16.0; fixed in 1.16.1\n- github.com/cilium/cilium (Go): affected from 1.16.0; fixed in 1.16.1\n- cilium (Bitnami): affected from 1.15.0; fixed in 1.16.1\n- cilium-operator (Bitnami): affected from 1.15.4; fixed in 1.16.1\n- hubble-relay (Bitnami): affected from 1.15.0; fixed in 1.16.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-42487/ (Markdown: https://insights.sbomify.com/CVE-2024-42487/index.md)","id":"CVE-2024-42487","markdown":"https://insights.sbomify.com/CVE-2024-42487/index.md","name":"CVE-2024-42487","record":{"aliases":["BIT-cilium-2024-42487","BIT-cilium-operator-2024-42487","BIT-hubble-relay-2024-42487","GHSA-qcm3-7879-xcww","GO-2024-3071"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Cilium networking","requires_auth":"none","summary":"Cilium incorrectly prioritizes header matching over method matching in Gateway API routes, potentially allowing security policy bypasses.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cilium","vendor":"cilium"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"},{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"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.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cilium's Gateway API route matching order contradicts specification","id":"CVE-2024-42487","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"business_logic","year":"2024"},"n_packages":8,"n_references":3,"next":{"headline":"Cilium agent's race condition may lead to policy bypass for Host Firewall policy","id":"CVE-2024-42488"},"packages":[{"ecosystem":"Bitnami","fixed":["1.16.1"],"introduced":["1.15.0"],"last_affected":[],"package":"cilium","purl":"pkg:bitnami/cilium","source":"BIT-cilium-2024-42487"},{"ecosystem":"Bitnami","fixed":["1.16.1"],"introduced":["1.15.4"],"last_affected":[],"package":"cilium-operator","purl":"pkg:bitnami/cilium-operator","source":"BIT-cilium-operator-2024-42487"},{"ecosystem":"Bitnami","fixed":["1.16.1"],"introduced":["1.15.0"],"last_affected":[],"package":"hubble-relay","purl":"pkg:bitnami/hubble-relay","source":"BIT-hubble-relay-2024-42487"},{"ecosystem":"Go","fixed":["1.15.8","1.16.1"],"introduced":["1.15.0","1.16.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"GO-2024-3071"},{"ecosystem":"Go","fixed":["1.15.8"],"introduced":["1.15.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":null,"source":"GHSA-qcm3-7879-xcww"},{"ecosystem":"Go","fixed":["1.15.8"],"introduced":["1.15.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"GHSA-qcm3-7879-xcww"},{"ecosystem":"Go","fixed":["1.16.1"],"introduced":["1.16.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":null,"source":"GHSA-qcm3-7879-xcww"},{"ecosystem":"Go","fixed":["1.16.1"],"introduced":["1.16.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"GHSA-qcm3-7879-xcww"}],"prev":{"headline":"Cilium vulnerable to information leakage via incorrect ReferenceGrant update logic in Gateway API","id":"CVE-2024-42486"},"products":["cilium"],"published":"2024-08-15","related":[{"cvss_score":9.2,"headline":"Cilium: Sensitive information disclosure and cluster disruption via local Envoy admin socket access","id":"CVE-2026-49445","kev_date_added":null,"published":"2026-07-15"},{"cvss_score":8.8,"headline":"Incorrect Default Permissions in Cilium","id":"CVE-2022-29178","kev_date_added":null,"published":"2022-05-20"},{"cvss_score":8,"headline":"Insecure IPsec transport encryption in Cilium","id":"CVE-2024-28860","kev_date_added":null,"published":"2024-03-27"},{"cvss_score":7.9,"headline":"Cillium exposes sensitive information included in the cilium-bugtool debug archive","id":"CVE-2026-41520","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":7.9,"headline":"Cilium leaks sensitive information in cilium-bugtool","id":"CVE-2024-37307","kev_date_added":null,"published":"2024-06-13"},{"cvss_score":7.6,"headline":"Cilium NetworkPolicy bypass via pod labels","id":"CVE-2023-39347","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":7.5,"headline":"Improper Privilege Management in Cilium","id":"CVE-2022-29179","kev_date_added":null,"published":"2022-05-20"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-15","vendors":["cilium"]},"summary":"Cilium incorrectly prioritizes header matching over method matching in Gateway API routes, potentially allowing security policy bypasses.","url":"https://insights.sbomify.com/CVE-2024-42487/"}