Arbitrary Code Injection Affecting github.com/gardener/gardener-extension-provider-gcp/pkg/apis/gcp/validation package, versions <1.46.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGARDENERGARDENEREXTENSIONPROVIDERGCPPKGAPISGCPVALIDATION-13110044
  • published29 Sept 2025
  • disclosed25 Sept 2025
  • creditPeter Sutter

Introduced: 25 Sep 2025

NewCVE-2025-59823  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/gardener/gardener-extension-provider-gcp/pkg/apis/gcp/validation to version 1.46.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the Terraformer process. An attacker can execute arbitrary code with elevated privileges by injecting malicious Terraform configurations during infrastructure provisioning.

Note: This is only exploitable if a user has administrative privileges for a Gardener project and Terraformer is enabled for infrastructure provisioning.

CVSS Base Scores

version 4.0
version 3.1