{"answers":{"affected":"14 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-39347 in the wild and no public exploit code.","fix":"Upgrade github.com/cilium/cilium to a fixed version for your release line: 1.12.14, 1.13.7 or 1.14.2.","what":"CVE-2023-39347 is a high-severity vulnerability in cilium, published on 26 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-39347 and fix it if it is affected.\n\nWhat it is: CVE-2023-39347 is a high-severity vulnerability in cilium, published on 26 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-39347 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cilium/cilium (Go): affected all versions; fixed in 1.12.14, 1.13.7, 1.14.2\n- github.com/cilium/cilium (Go): affected all versions; fixed in 1.12.14\n- github.com/cilium/cilium (Go): affected all versions; fixed in 1.12.14\n- github.com/cilium/cilium (Go): affected from 1.13.0; fixed in 1.13.7\n- github.com/cilium/cilium (Go): affected from 1.13.0; fixed in 1.13.7\n- github.com/cilium/cilium (Go): affected from 1.14.0; fixed in 1.14.2\n- github.com/cilium/cilium (Go): affected from 1.14.0; fixed in 1.14.2\n- cilium (Bitnami): affected all versions; fixed in 1.12.14, 1.13.7, 1.14.2\n- cilium-operator (Bitnami): affected all versions; fixed in 1.12.14, 1.13.7, 1.14.2\n- cilium-proxy (Bitnami): affected all versions; fixed in 1.12.14, 1.13.7, 1.14.2\n- hubble (Bitnami): affected all versions; fixed in 1.12.14, 1.13.7, 1.14.2\n- hubble-relay (Bitnami): affected all versions; fixed in 1.12.14, 1.13.7, 1.14.2\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-39347/ (Markdown: https://insights.sbomify.com/CVE-2023-39347/index.md)","id":"CVE-2023-39347","markdown":"https://insights.sbomify.com/CVE-2023-39347/index.md","name":"CVE-2023-39347","record":{"aliases":["BIT-cilium-2023-39347","BIT-cilium-operator-2023-39347","BIT-cilium-proxy-2023-39347","BIT-hubble-2023-39347","BIT-hubble-relay-2023-39347","BIT-hubble-ui-2023-39347","BIT-hubble-ui-backend-2023-39347","GHSA-gj2r-phwg-6rww","GO-2023-2078"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cilium network security","requires_auth":"low_privilege","summary":"Attackers with Kubernetes API access can bypass network policies by manipulating pod labels, requiring upgrades to Cilium.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cilium","vendor":"cilium"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"Cilium is a networking, observability, and security solution with an eBPF-based dataplane. An attacker with the ability to update pod labels can cause Cilium to apply incorrect network policies. This issue arises due to the fact that on pod update, Cilium incorrectly uses user-provided pod labels to select the policies which apply to the workload in question. This can affect Cilium network policies that use the namespace, service account or cluster constructs to restrict traffic, Cilium clusterwide network policies that use Cilium namespace labels to select the Pod and Kubernetes network policies. Non-existent construct names can be provided, which bypass all network policies applicable to the construct. For example, providing a pod with a non-existent namespace as the value of the `io.kubernetes.pod.namespace` label results in none of the namespaced CiliumNetworkPolicies applying to the pod in question. This attack requires the attacker to have Kubernetes API Server access, as described in the Cilium Threat Model. This issue has been resolved in: Cilium versions 1.14.2, 1.13.7, and 1.12.14. Users are advised to upgrade. As a workaround an admission webhook can be used to prevent pod label updates to the `k8s:io.kubernetes.pod.namespace` and `io.cilium.k8s.policy.*` keys.","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 NetworkPolicy bypass via pod labels","id":"CVE-2023-39347","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"security_feature_bypass","year":"2023"},"n_packages":14,"n_references":2,"next":{"headline":"Improper log output when using GitHub Status Notifications in spinnaker","id":"CVE-2023-39348"},"packages":[{"ecosystem":"Bitnami","fixed":["1.12.14","1.13.7","1.14.2"],"introduced":["0","1.13.0","1.14.0"],"last_affected":[],"package":"cilium","purl":"pkg:bitnami/cilium","source":"BIT-cilium-2023-39347"},{"ecosystem":"Bitnami","fixed":["1.12.14","1.13.7","1.14.2"],"introduced":["0","1.13.0","1.14.0"],"last_affected":[],"package":"cilium-operator","purl":"pkg:bitnami/cilium-operator","source":"BIT-cilium-operator-2023-39347"},{"ecosystem":"Bitnami","fixed":["1.12.14","1.13.7","1.14.2"],"introduced":["0","1.13.0","1.14.0"],"last_affected":[],"package":"cilium-proxy","purl":"pkg:bitnami/cilium-proxy","source":"BIT-cilium-proxy-2023-39347"},{"ecosystem":"Bitnami","fixed":["1.12.14","1.13.7","1.14.2"],"introduced":["0","1.13.0","1.14.0"],"last_affected":[],"package":"hubble","purl":"pkg:bitnami/hubble","source":"BIT-hubble-2023-39347"},{"ecosystem":"Bitnami","fixed":["1.12.14","1.13.7","1.14.2"],"introduced":["0","1.13.0","1.14.0"],"last_affected":[],"package":"hubble-relay","purl":"pkg:bitnami/hubble-relay","source":"BIT-hubble-relay-2023-39347"},{"ecosystem":"Bitnami","fixed":["1.12.14","1.13.7","1.14.2"],"introduced":["0","1.13.0","1.14.0"],"last_affected":[],"package":"hubble-ui","purl":"pkg:bitnami/hubble-ui","source":"BIT-hubble-ui-2023-39347"},{"ecosystem":"Bitnami","fixed":["1.12.14","1.13.7","1.14.2"],"introduced":["0","1.13.0","1.14.0"],"last_affected":[],"package":"hubble-ui-backend","purl":"pkg:bitnami/hubble-ui-backend","source":"BIT-hubble-ui-backend-2023-39347"},{"ecosystem":"Go","fixed":["1.12.14","1.13.7","1.14.2"],"introduced":["0","1.13.0","1.14.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"GO-2023-2078"},{"ecosystem":"Go","fixed":["1.12.14"],"introduced":["0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":null,"source":"GHSA-gj2r-phwg-6rww"},{"ecosystem":"Go","fixed":["1.12.14"],"introduced":["0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"GHSA-gj2r-phwg-6rww"},{"ecosystem":"Go","fixed":["1.13.7"],"introduced":["1.13.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":null,"source":"GHSA-gj2r-phwg-6rww"},{"ecosystem":"Go","fixed":["1.13.7"],"introduced":["1.13.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"GHSA-gj2r-phwg-6rww"},{"ecosystem":"Go","fixed":["1.14.2"],"introduced":["1.14.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":null,"source":"GHSA-gj2r-phwg-6rww"},{"ecosystem":"Go","fixed":["1.14.2"],"introduced":["1.14.0"],"last_affected":[],"package":"github.com/cilium/cilium","purl":"pkg:golang/github.com/cilium/cilium","source":"GHSA-gj2r-phwg-6rww"}],"prev":{"headline":"File upload in LinuxASMCallGraph","id":"CVE-2023-39346"},"products":["cilium"],"published":"2023-09-26","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.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-09-24","vendors":["cilium"]},"summary":"Attackers with Kubernetes API access can bypass network policies by manipulating pod labels, requiring upgrades to Cilium.","url":"https://insights.sbomify.com/CVE-2023-39347/"}