{"answers":{"affected":"5 open source packages ship an affected version, including k8s.io/kops. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-1943 in the wild and no public exploit code.","fix":"Upgrade k8s.io/kops to a fixed version for your release line: 1.25.4 or 1.26.2.","what":"CVE-2023-1943 is a high-severity vulnerability in Kubernetes kops, published on 11 Oct 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-1943 and fix it if it is affected.\n\nWhat it is: CVE-2023-1943 is a high-severity vulnerability in Kubernetes kops, published on 11 Oct 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-1943 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- k8s.io/kops (Go): affected all versions; fixed in 1.25.4, 1.26.2\n- k8s.io/kops (Go): affected all versions; fixed in 1.25.4\n- k8s.io/kops (Go): affected all versions; fixed in 1.25.4\n- k8s.io/kops (Go): affected from 1.26.0; fixed in 1.26.2\n- k8s.io/kops (Go): affected from 1.26.0; fixed in 1.26.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-1943/ (Markdown: https://insights.sbomify.com/CVE-2023-1943/index.md)","id":"CVE-2023-1943","markdown":"https://insights.sbomify.com/CVE-2023-1943/index.md","name":"CVE-2023-1943","record":{"aliases":["GHSA-8gwj-m6vh-2g6j","GO-2023-2125"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Kubernetes cluster tool","requires_auth":"low_privilege","summary":"Attackers can escalate privileges in kOps clusters using GCE/GCP provider when configured in Gossip mode.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[{"product":"operations","vendor":"kubernetes"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"description":"Privilege Escalation in kOps using GCE/GCP Provider in Gossip Mode.","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":"Privilege Escalation in kOps using GCE/GCP Provider in Gossip Mode","id":"CVE-2023-1943","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2023"},"n_packages":5,"n_references":2,"next":{"headline":"[minikube] ssh server with default password","id":"CVE-2023-1944"},"packages":[{"ecosystem":"Go","fixed":["1.25.4","1.26.2"],"introduced":["0","1.26.0"],"last_affected":[],"package":"k8s.io/kops","purl":"pkg:golang/k8s.io/kops","source":"GO-2023-2125"},{"ecosystem":"Go","fixed":["1.25.4"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kops","purl":null,"source":"GHSA-8gwj-m6vh-2g6j"},{"ecosystem":"Go","fixed":["1.25.4"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kops","purl":"pkg:golang/k8s.io/kops","source":"GHSA-8gwj-m6vh-2g6j"},{"ecosystem":"Go","fixed":["1.26.2"],"introduced":["1.26.0"],"last_affected":[],"package":"k8s.io/kops","purl":null,"source":"GHSA-8gwj-m6vh-2g6j"},{"ecosystem":"Go","fixed":["1.26.2"],"introduced":["1.26.0"],"last_affected":[],"package":"k8s.io/kops","purl":"pkg:golang/k8s.io/kops","source":"GHSA-8gwj-m6vh-2g6j"}],"prev":{"headline":"SourceCodester Online Computer and Laptop Store Avatar unrestricted upload","id":"CVE-2023-1942"},"products":["kops"],"published":"2023-10-11","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":"total"},"state":"PUBLISHED","updated":"2024-09-18","vendors":["Kubernetes"]},"summary":"Attackers can escalate privileges in kOps clusters using GCE/GCP provider when configured in Gossip mode.","url":"https://insights.sbomify.com/CVE-2023-1943/"}