CVE-2025-58063 CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux coredns(Azure Linux 3.0) | < 1.11.4-9 | 1.11.4-9 | Fixed |
| cbl-mariner coredns(CBL-Mariner 2.0) | < 1.11.1-21 | 1.11.1-21 | Fixed |
| coredns(Go) | >= 1.2.0, < 1.12.4 | 1.12.4 | Fixed |
| coredns | = >= 1.2.0, < 1.12.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| coredns(Go) | >= 1.2.0, < 1.12.4 | 1.12.4 |
| azure linux coredns(Azure Linux:3.0) | < 1.11.4-9 | 1.11.4-9 |
| cbl-mariner coredns(CBL-Mariner:2.0) | < 1.11.1-21 | 1.11.1-21 |
| coredns | = >= 1.2.0, < 1.12.4 | No fix listed |
References
- https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf patch
- github.com product
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com