CVE-2025-58063

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductGithub.com/coredns/coredns
PublishedSep 9, 2025
First seenSep 9, 2025
Weakness typeCWE-681CWE-681

How to fix

Update
  • github.com/coredns/coredns1.12.4 or later

Affected products

ProductAffected versionsFixed in
github.com/coredns/corednsGo1.2.0 ≤ v < 1.12.41.12.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.