Vulnerabilities in pkg:golang/github.com/gardener/gardener-extension-shoot-dns-service

PACKAGE
Advisory Identifier: GHSA-xwgg-m7fx-83wx
Advisory Summary

CVE-2025-47282 is a CRITICAL (CVSS 9.9) gardener external dns management allows vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/gardener/external dns management libraries in the Go ecosystem. The issue involves gardener external dns management allows malicious google credential in dns secret to lead to privilege escalation. Remediation is available by upgrading affected packages to version 0.23.6.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/gardener/gardener-extension-shoot-dns-service

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/gardener/gardener-extension-shoot-dns-service. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xwgg-m7fx-83wx CVE-2025-47282 CRITICAL Gardener External DNS Management allows malicious google credential in DNS secret to lead to privilege escalation

CVE-2025-47282 at a Glance

CVE Identifier CVE-2025-47282
GHSA Identifier GHSA-xwgg-m7fx-83wx
Severity CRITICAL
CVSS v3.1 Base Score 9.9
CWE Classification CWE-269: Improper Privilege Management
Affected Product Github.com/gardener/external dns management
Package Ecosystem Go
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-47282

To remediate this vulnerability, upgrade all affected Github.com/gardener/external dns management dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/gardener/external-dns-management fixed: 0.23.6
Upgrade github.com/gardener/external-dns-management to 0.23.6
github.com/gardener/gardener-extension-shoot-dns-service fixed: Latest secure release
Upgrade github.com/gardener/gardener-extension-shoot-dns-service to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/gardener/external-dns-management

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-47282, inspect your project dependencies for Github.com/gardener/external dns management:

inspect dependencies for github.com/gardener/external-dns-management

Analyze the terminal output to locate any version of Github.com/gardener/external dns management in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.23.6), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Github.com/gardener/external dns management, 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

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 - &gt;= 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.

CVE-2025-47282 Affected Github.com/gardener/external dns management Versions

2 component(s)
Fixed Versions:
0.23.6
Product / Package Ecosystem Affected Versions Fixed Version
github.com/gardener/external-dns-management
Go
< 0.23.6
0.23.6
github.com/gardener/gardener-extension-shoot-dns-service
Go
≤ 1.6.0

References

Frequently Asked Questions

What is CVE-2025-47282?
CVE-2025-47282 is a security vulnerability in Github.com/gardener/external dns management involving Gardener External DNS Management allows malicious google credential in DNS secret to lead to privilege escalation under CWE-269: Improper Privilege Management.
Which Github.com/gardener/external dns management versions are affected?
Affected versions include releases prior to 0.23.6 across affected packages: github.com/gardener/external-dns-management, github.com/gardener/gardener-extension-shoot-dns-service.
What version fixes CVE-2025-47282?
Upgrading to 0.23.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/gardener/external-dns-management affected?
Yes, github.com/gardener/external-dns-management is affected in releases prior to 0.23.6. Upgrade your dependency to 0.23.6 or later.
Is github.com/gardener/gardener-extension-shoot-dns-service affected?
Yes, github.com/gardener/gardener-extension-shoot-dns-service is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-47282?
CVE-2025-47282 has a CVSS v3.1 base score of 9.9 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2025-47282?
CVE-2025-47282 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check Go dependencies for CVE-2025-47282?
Run the dependency tree command: 'inspect dependencies for github.com/gardener/external-dns-management'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xwgg-m7fx-83wx",
  "modified" : "2025-05-19T19:12:48Z",
  "published" : "2025-05-19T19:12:48Z",
  "aliases" : [ "CVE-2025-47282" ],
  "summary" : "Gardener External DNS Management allows malicious google credential in DNS secret to lead to privilege escalation",
  "details" : "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.\n\n### Am I Vulnerable?\n\nThis CVE affects all Gardener installations no matter of the public cloud provider(s) used for the seed clusters/shoot clusters.\n\n### Affected Components\n\n- `gardener/external-dns-management`\n\n### Affected Versions\n\n- < 0.23.6\n\n### Fixed Versions\n\n- &gt;= 0.23.6\n\n### Important\n\nThe `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.\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/external-dns-management"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.23.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/gardener/gardener-extension-shoot-dns-service"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/gardener/external-dns-management/security/advisories/GHSA-xwgg-m7fx-83wx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47282"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/gardener/external-dns-management"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-269" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-19T19:12:48Z",
    "nvd_published_at" : "2025-05-19T18:15:30Z"
  }
}