What’s Vulnerable › Vulnerabilities
CVE-2025-58063: CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-09 · updated 2026-10-19
- Weakness: CWE-681
Description
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.
Affected products
- coredns: from 1.2.0, < 1.12.4
References
- https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf
- https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9
- https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9
Get alerted when CVE-2025-58063 or the next vulnerability affects your stack