CVE-2025-58063

CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion

State
Published
Severity
7.1 High
Published
Sep 9, 2025
Updated
Sep 10, 2025
Reserved
Aug 22, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:HGitHub_M

Weaknesses

  • CWE-681 Incorrect Conversion between Numeric Types

Affected Products

ProductVersions
corednscoredns
  • >= 1.2.0, < 1.12.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.