Skip to main content
← All vulnerabilities
CVE-2025-58063GHSA-93MF-426M-G6X9GO-2025-3942

CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.12.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • coredns coredns

    From 1.2.0 · fixed in 1.12.4

  • github.com/coredns/corednsGo

    From 1.2.0 · fixed in 1.12.4

References 2

GitHub · coredns/coredns