{"answers":{"affected":"10 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-2023-34242 in the wild and no public exploit code.","fix":"Upgrade github.com/cilium/cilium to 1.13.4 or later.","what":"CVE-2023-34242 is a low-severity vulnerability in cilium, published on 15 Jun 2023."},"fix_prompt":"Check this codebase for CVE-2023-34242 and fix it if it is affected.\n\nWhat it is: CVE-2023-34242 is a low-severity vulnerability in cilium, published on 15 Jun 2023. \nExploitation: There is no known exploitation of CVE-2023-34242 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cilium/cilium (Go): affected from 1.13.0; fixed in 1.13.4\n- github.com/cilium/cilium (Go): affected from 1.13.0; fixed in 1.13.4\n- github.com/cilium/cilium (Go): affected from 1.13.0; fixed in 1.13.4\n- cilium (Bitnami): affected all versions; fixed in 1.13.4\n- cilium-operator (Bitnami): affected all versions; fixed in 1.13.4\n- cilium-proxy (Bitnami): affected all versions; fixed in 1.13.4\n- hubble (Bitnami): affected all versions; fixed in 1.13.4\n- hubble-relay (Bitnami): affected all versions; fixed in 1.13.4\n- hubble-ui (Bitnami): affected all versions; fixed in 1.13.4\n- hubble-ui-backend (Bitnami): affected all versions; fixed in 1.13.4\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-2023-34242/ (Markdown: https://insights.sbomify.com/CVE-2023-34242/index.md)","id":"CVE-2023-34242","markdown":"https://insights.sbomify.com/CVE-2023-34242/index.md","name":"CVE-2023-34242","record":{"aliases":["BIT-cilium-2023-34242","BIT-cilium-operator-2023-34242","BIT-cilium-proxy-2023-34242","BIT-hubble-2023-34242","BIT-hubble-relay-2023-34242","BIT-hubble-ui-2023-34242","BIT-hubble-ui-backend-2023-34242","GHSA-r7wr-4w5q-55m6","GO-2023-1862"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"cilium","vendor":"cilium"}],"cvss":{"score":3.4,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to version 1.13.4, when Gateway API is enabled in Cilium, the absence of a check on the namespace in which a ReferenceGrant is created could result in Cilium unintentionally gaining visibility of secrets (including certificates) and services across namespaces. An attacker on an affected cluster can leverage this issue to use cluster secrets that should not be visible to them, or communicate with services that they should not have access to. Gateway API functionality is disabled by default. This vulnerability is fixed in Cilium release 1.13.4. As a workaround, restrict the creation of `ReferenceGrant` resources to admin users by using Kubernetes RBAC.","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 vulnerable to information leakage via incorrect ReferenceGrant handling","id":"CVE-2023-34242","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":null,"year":"2023"},"n_packages":10,"n_references":2,"next":{"headline":"Windows user name disclosure in TGstation","id":"CVE-2023-34243"},"packages":[{"ecosystem":"Bitnami","fixed":["1.13.4"],"introduced":["0"],"last_affected":[],"package":"cilium","purl":"pkg:bitnami/cilium","source":"BIT-cilium-2023-34242"},{"ecosystem":"Bitnami","fixed":["1.13.4"],"introduced":["0"],"last_affected":[],"package":"cilium-operator","purl":"pkg:bitnami/cilium-operator","source":"BIT-cilium-operator-2023-34242"},{"ecosystem":"Bitnami","fixed":["1.13.4"],"introduced":["0"],"last_affected":[],"package":"cilium-proxy","purl":"pkg:bitnami/cilium-proxy","source":"BIT-cilium-proxy-2023-34242"},{"ecosystem":"Bitnami","fixed":["1.13.4"],"introduced":["0"],"last_affected":[],"package":"hubble","purl":"pkg:bitnami/hubble","source":"BIT-hubble-2023-34242"},{"ecosystem":"Bitnami","fixed":["1.13.4"],"introduced":["0"],"last_affected":[],"package":"hubble-relay","purl":"pkg:bitnami/hubble-relay","source":"BIT-hubble-relay-2023-34242"},{"ecosystem":"Bitnami","fixed":["1.13.4"],"introduced":["0"],"last_affected":[],"package":"hubble-ui","purl":"pkg:bitnami/hubble-ui","source":"BIT-hubble-ui-2023-34242"},{"ecosystem":"Bitnami","fixed":["1.13.4"],"introduced":["0"],"last_affected":[],"package":"hubble-ui-backend","purl":"pkg:bitnami/hubble-ui-backend","source":"BIT-hubble-ui-backend-2023-34242"},{"ecosystem":"Go","fixed":["1.13.4"],"introduced":["1.13.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":null,"source":"GHSA-r7wr-4w5q-55m6"},{"ecosystem":"Go","fixed":["1.13.4"],"introduced":["1.13.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"GHSA-r7wr-4w5q-55m6"},{"ecosystem":"Go","fixed":["1.13.4"],"introduced":["1.13.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"GO-2023-1862"}],"prev":{"headline":"CUPS vulnerable to use-after-free in cupsdAcceptClient()","id":"CVE-2023-34241"},"products":["cilium"],"published":"2023-06-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-12-11","vendors":["cilium"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2023-34242/"}