CVE-2025-47282: Gardener External DNS Management allows malicious google credential in DNS secret to lead to privilege escalation
A security vulnerability was discovered in Gardener that could allow a user with administrative privileges for a Gardener project or a user with administrative privileges for a shoot cluster, including administrative privileges for a single namespace of the shoot cluster, to obtain control over the seed cluster where the shoot cluster is managed.
Published May 19, 2025
Affected packages
github.com/gardener/external-dns-management
- Ecosystem
- Go
- Affected
- < 0.23.6
- Fixed in
- 0.23.6
- Check
go list -m github.com/gardener/external-dns-management
github.com/gardener/gardener-extension-shoot-dns-service
- Ecosystem
- Go
- Affected
- <= 1.6.0
- Fixed in
- No patched version yet
- Check
go list -m github.com/gardener/gardener-extension-shoot-dns-service
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A security vulnerability was discovered in Gardener that could allow a user with administrative privileges for a Gardener project or a user with administrative privileges for a shoot cluster, including administrative privileges for a single namespace of the shoot cluster, to obtain control over the seed cluster where the shoot cluster is managed.
Am I Vulnerable?
This CVE affects all Gardener installations no matter of the public cloud provider(s) used for the seed clusters/shoot clusters.
Affected Components
gardener/external-dns-management
Affected Versions
- < 0.23.6
Fixed Versions
- >= 0.23.6
Important
The external-dns-management component may also be deployed on the seeds by the https://github.com/gardener/gardener-extension-shoot-dns-service extension when the extension is enabled. In this case, all versions of the shoot-dns-service extension <= v1.60.0 are affected by this vulnerability.
How do I mitigate this vulnerability?
Update to a fixed version.
Credited to petersutter, donistz, MartinWeindel, JordanJordanov.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
