CVE-2025-58063
HIGH 7.1CVSS 3.1CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion
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.
- Published
- 9 Sep 2025
- Last modified
- 19 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-681
- Also known as
- GHSA-93mf-426m-g6x9GO-2025-3942
- Sources
- NVDJSONOSV GHSA-93mf-426m-g6x9JSONOSV GO-2025-3942JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/coredns/coredns | >= 1.2.0, < 1.12.4 | 1.12.4 |
References
- https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf · WEB, FIX
- https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-58063 · ADVISORY
- https://github.com/coredns/coredns · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Sep 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Sep 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Sep 2025)