ADVISORIES

Vulnerability

CVE-2025-58063

CoreDNS is a DNS server that chains plugins. Starting in version 1.2.0 and prior to version 1.12.4, the CoreDNS etcd plugin contains a TTL confusion vulnerability where lease IDs are incorrectly used as TTL values, enabling DNS cache pinning attacks. This effectively creates a DoS condition for DNS resolution of affected services. The `TTL()` function in `plugin/etcd/etcd.go` incorrectly casts etcd lease IDs (64-bit integers) to uint32 and uses them as TTL values. Large lease IDs become very large TTLs when cast to uint32. This enables cache pinning attacks. Version 1.12.4 contains a fix for the issue.

54 advisories report this vulnerability, across 7 ecosystems.

Advisories in Go

  • GHSA-93mf-426m-g6x9

    CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion

    High CVE-2025-58063 Go Updated 10 September 2026
  • GO-2025-3942

    CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion in github.com/coredns/coredns

    CVE-2025-58063 Go Updated 4 February 2026

References