{"answers":{"affected":"3 open source packages ship an affected version, including github.com/cilium/cilium-cli. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-28114 in the wild and no public exploit code.","fix":"Upgrade github.com/cilium/cilium-cli to 0.13.2 or later.","what":"CVE-2023-28114 is a medium-severity missing authorization vulnerability in cilium-cli, published on 22 Mar 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-28114 and fix it if it is affected.\n\nWhat it is: CVE-2023-28114 is a medium-severity missing authorization vulnerability in cilium-cli, published on 22 Mar 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-28114 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cilium/cilium-cli (Go): affected all versions; fixed in 0.13.2\n- github.com/cilium/cilium-cli (Go): affected all versions; fixed in 0.13.2\n- github.com/cilium/cilium-cli (Go): affected all versions; fixed in 0.13.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-28114/ (Markdown: https://insights.sbomify.com/CVE-2023-28114/index.md)","id":"CVE-2023-28114","markdown":"https://insights.sbomify.com/CVE-2023-28114/index.md","name":"CVE-2023-28114","record":{"aliases":["GHSA-6f27-3p6c-p5jc","GO-2023-1653"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Cilium CLI tool","requires_auth":"high_privilege","summary":"Attacker with valid etcd credentials can modify cluster state because cilium-cli incorrectly disables etcd authorization during cluster mesh setup.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cilium-cli","vendor":"cilium"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"},{"id":"CWE-280","name":"Improper Handling of Insufficient Permissions or Privileges"}],"description":"`cilium-cli` is the command line interface to install, manage, and troubleshoot Kubernetes clusters running Cilium. Prior to version 0.13.2,`cilium-cli`, when used to configure cluster mesh functionality, can remove the enforcement of user permissions on the `etcd` store used to mirror local cluster information to remote clusters. Users who have set up cluster meshes using the Cilium Helm chart are not affected by this issue.\n\nDue to an incorrect mount point specification, the settings specified by the `initContainer` that configures `etcd` users and their permissions are overwritten when using `cilium-cli` to configure a cluster mesh. An attacker who has already gained access to a valid key and certificate for an `etcd` cluster compromised in this manner could then modify state in that `etcd` cluster.\n\nThis issue is patched in `cilium-cli` 0.13.2. As a workaround, one may use Cilium's Helm charts to create their cluster.","ecosystems":["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-cli` disables etcd authorization for clustermesh clusters","id":"CVE-2023-28114","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2023"},"n_packages":3,"n_references":4,"next":{"headline":"Snappy vulnerable to PHAR deserialization, allowing remote code execution","id":"CVE-2023-28115"},"packages":[{"ecosystem":"Go","fixed":["0.13.2"],"introduced":["0"],"last_affected":[],"package":"github.com/cilium/cilium-cli","purl":null,"source":"GHSA-6f27-3p6c-p5jc"},{"ecosystem":"Go","fixed":["0.13.2"],"introduced":["0"],"last_affected":[],"package":"github.com/cilium/cilium-cli","purl":"pkg:golang/github.com/cilium/cilium-cli","source":"GHSA-6f27-3p6c-p5jc"},{"ecosystem":"Go","fixed":["0.13.2"],"introduced":["0"],"last_affected":[],"package":"github.com/cilium/cilium-cli","purl":"pkg:golang/github.com/cilium/cilium-cli","source":"GO-2023-1653"}],"prev":{"headline":"russh may use insecure Diffie-Hellman keys","id":"CVE-2023-28113"},"products":["cilium-cli"],"published":"2023-03-22","related":[],"sources":[{"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":"2025-02-25","vendors":["cilium"]},"summary":"Attacker with valid etcd credentials can modify cluster state because cilium-cli incorrectly disables etcd authorization during cluster mesh setup.","url":"https://insights.sbomify.com/CVE-2023-28114/"}