{"answers":{"affected":"12 open source packages ship an affected version, including github.com/gardener/gardener-extension-provider-aws, github.com/gardener/gardener-extension-provider-azure and github.com/gardener/gardener-extension-provider-gcp.","exploited":"There is no known exploitation of CVE-2025-59823 in the wild and no public exploit code.","fix":"Upgrade github.com/gardener/gardener-extension-provider-aws to 1.64.0 or later.","what":"CVE-2025-59823 is a critical code injection vulnerability in gardener-extension-provider-aws, published on 25 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-59823 and fix it if it is affected.\n\nWhat it is: CVE-2025-59823 is a critical code injection vulnerability in gardener-extension-provider-aws, published on 25 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-59823 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/gardener/gardener-extension-provider-aws (Go): affected all versions; fixed in 1.64.0\n- github.com/gardener/gardener-extension-provider-aws (Go): affected all versions; fixed in 1.64.0\n- github.com/gardener/gardener-extension-provider-aws (Go): affected all versions; fixed in 1.64.0\n- github.com/gardener/gardener-extension-provider-azure (Go): affected all versions; fixed in 1.55.0\n- github.com/gardener/gardener-extension-provider-azure (Go): affected all versions; fixed in 1.55.0\n- github.com/gardener/gardener-extension-provider-azure (Go): affected all versions; fixed in 1.55.0\n- github.com/gardener/gardener-extension-provider-gcp (Go): affected all versions; fixed in 1.46.0\n- github.com/gardener/gardener-extension-provider-gcp (Go): affected all versions; fixed in 1.46.0\n- github.com/gardener/gardener-extension-provider-gcp (Go): affected all versions; fixed in 1.46.0\n- github.com/gardener/gardener-extension-provider-openstack (Go): affected all versions; fixed in 1.49.0\n- github.com/gardener/gardener-extension-provider-openstack (Go): affected all versions; fixed in 1.49.0\n- github.com/gardener/gardener-extension-provider-openstack (Go): affected all versions; fixed in 1.49.0\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-2025-59823/ (Markdown: https://insights.sbomify.com/CVE-2025-59823/index.md)","id":"CVE-2025-59823","markdown":"https://insights.sbomify.com/CVE-2025-59823/index.md","name":"CVE-2025-59823","record":{"aliases":["GHSA-227x-7mh8-3cf6","GO-2025-3981"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Kubernetes cluster management","requires_auth":"low_privilege","summary":"Administrative users can inject code via Terraformer to gain control over the seed cluster in Gardener Kubernetes management.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Project Gardener implements the automated management and operation of Kubernetes clusters as a service. Code injection may be possible in Gardener Extensions for AWS providers prior to version 1.64.0, Azure providers prior to version 1.55.0, OpenStack providers prior to version 1.49.0, and GCP providers prior to version 1.46.0. This vulnerability could allow a user with administrative privileges for a Gardener project to obtain control over the seed cluster where the shoot cluster is managed. This affects all Gardener installations where Terraformer is used/can be enabled for infrastructure provisioning with any of the affected components. This issue has been patched in Gardener Extensions for AWS providers version 1.64.0, Azure providers version 1.55.0, OpenStack providers version 1.49.0, and GCP providers version 1.46.0.","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":"Gardener providers vulnerable to code injection when Terraformer is used for infrastructure provisioning","id":"CVE-2025-59823","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":12,"n_references":5,"next":{"headline":"Omni Wireguard SideroLink potential escape","id":"CVE-2025-59824"},"packages":[{"ecosystem":"Go","fixed":["1.64.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-aws","purl":null,"source":"GHSA-227x-7mh8-3cf6"},{"ecosystem":"Go","fixed":["1.64.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-aws","purl":"pkg:golang/github.com/gardener/gardener-extension-provider-aws","source":"GHSA-227x-7mh8-3cf6"},{"ecosystem":"Go","fixed":["1.64.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-aws","purl":"pkg:golang/github.com/gardener/gardener-extension-provider-aws","source":"GO-2025-3981"},{"ecosystem":"Go","fixed":["1.55.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-azure","purl":null,"source":"GHSA-227x-7mh8-3cf6"},{"ecosystem":"Go","fixed":["1.55.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-azure","purl":"pkg:golang/github.com/gardener/gardener-extension-provider-azure","source":"GHSA-227x-7mh8-3cf6"},{"ecosystem":"Go","fixed":["1.55.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-azure","purl":"pkg:golang/github.com/gardener/gardener-extension-provider-azure","source":"GO-2025-3981"},{"ecosystem":"Go","fixed":["1.46.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-gcp","purl":null,"source":"GHSA-227x-7mh8-3cf6"},{"ecosystem":"Go","fixed":["1.46.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-gcp","purl":"pkg:golang/github.com/gardener/gardener-extension-provider-gcp","source":"GHSA-227x-7mh8-3cf6"},{"ecosystem":"Go","fixed":["1.46.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-gcp","purl":"pkg:golang/github.com/gardener/gardener-extension-provider-gcp","source":"GO-2025-3981"},{"ecosystem":"Go","fixed":["1.49.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-openstack","purl":null,"source":"GHSA-227x-7mh8-3cf6"},{"ecosystem":"Go","fixed":["1.49.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-openstack","purl":"pkg:golang/github.com/gardener/gardener-extension-provider-openstack","source":"GHSA-227x-7mh8-3cf6"},{"ecosystem":"Go","fixed":["1.49.0"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardener-extension-provider-openstack","purl":"pkg:golang/github.com/gardener/gardener-extension-provider-openstack","source":"GO-2025-3981"}],"prev":{"headline":"Http4s vulnerable to HTTP Request Smuggling due to improper handling of HTTP trailer section","id":"CVE-2025-59822"},"products":["gardener-extension-provider-aws"],"published":"2025-09-25","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":"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":"2025-09-29","vendors":["gardener"]},"summary":"Administrative users can inject code via Terraformer to gain control over the seed cluster in Gardener Kubernetes management.","url":"https://insights.sbomify.com/CVE-2025-59823/"}