Skip to content

CVE-2025-58063 CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion

HighCVSS 7.1 EPSS 0.52%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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