CVE-2025-47284: Github.com/gardener/gardener Gardener Allows Metadata Injection For Vulnerability
CRITICALCVE-2025-47284 is a CRITICAL (CVSS 9.9) gardener allows metadata injection for vulnerability (CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences) affecting Github.com/gardener/gardener libraries in the Go ecosystem. The issue involves gardener allows metadata injection for a project secret which can lead to privilege escalation. Remediation is available by upgrading affected packages to version 1.116.4, 1.117.5, 1.118.2.
CVE-2025-47284 at a Glance
Security Impact
CVSS: 9.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2025-47284
To remediate this vulnerability, upgrade all affected Github.com/gardener/gardener dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/gardener/gardener to 1.116.4
Upgrade github.com/gardener/gardener to 1.117.5
Upgrade github.com/gardener/gardener to 1.118.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/gardener/gardener
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-47284, inspect your project dependencies for Github.com/gardener/gardener:
inspect dependencies for github.com/gardener/gardener
Analyze the terminal output to locate any version of Github.com/gardener/gardener in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.116.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences, where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component. In Github.com/gardener/gardener, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-47284 Affected Github.com/gardener/gardener Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/gardener/gardener
|
Go |
< 1.116.4
|
1.116.4
|
|
github.com/gardener/gardener
|
Go |
≥ 1.117.0
< 1.117.5
|
1.117.5
|
|
github.com/gardener/gardener
|
Go |
≥ 1.118.0
< 1.118.2
|
1.118.2
|
References
Frequently Asked Questions
What is CVE-2025-47284?
Which Github.com/gardener/gardener versions are affected?
What version fixes CVE-2025-47284?
Is github.com/gardener/gardener affected?
What is the CVSS score of CVE-2025-47284?
What CWE is associated with CVE-2025-47284?
How can I check Go dependencies for CVE-2025-47284?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9x73-87fh-54w9",
"modified" : "2025-05-19T21:48:48Z",
"published" : "2025-05-19T21:09:32Z",
"aliases" : [ "CVE-2025-47284" ],
"summary" : "Gardener allows metadata injection for a project secret which can lead to privilege escalation",
"details" : "A security vulnerability was discovered in the `gardenlet` component of Gardener. It could allow a user with administrative privileges for a Gardener project to obtain control over the seed cluster(s) where their shoot clusters are managed.\n\n### Am I Vulnerable?\n\nThis CVE affects all Gardener installations where https://github.com/gardener/gardener-extension-provider-gcp is in use.\n\n### Affected Components\n\n- `gardener/gardener` (`gardenlet`)\n\n### Affected Versions\n\n- < v1.116.4\n- < v1.117.5\n- < v1.118.2\n- < v1.119.0\n\n### Fixed Versions\n\n- >= v1.116.4\n- >= v1.117.5\n- >= v1.118.2\n- >= v1.119.0\n\n### How do I mitigate this vulnerability?\n\nUpdate to a fixed version.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/gardener/gardener"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.116.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/gardener/gardener"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.117.0"
}, {
"fixed" : "1.117.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/gardener/gardener"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.118.0"
}, {
"fixed" : "1.118.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/gardener/gardener/security/advisories/GHSA-9x73-87fh-54w9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47284"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gardener/gardener"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-150" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-19T21:09:32Z",
"nvd_published_at" : "2025-05-19T19:15:51Z"
}
}