{"id":"CVE-2025-58063","aliases":["GHSA-93mf-426m-g6x9","GO-2025-3942"],"url":"https://o3.security/vulnerability/CVE-2025-58063","summary":"CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion","details":"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":"2025-09-09T19:27:18.124Z","modified":"2026-07-31T18:31:33.527764137Z","cvss":{"score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/coredns/coredns","fixedVersion":"1.12.4"}],"fix":{"url":"https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf","label":"coredns/coredns@e1768a5"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58063.json"},{"type":"ADVISORY","url":"https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58063"},{"type":"FIX","url":"https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-31T18:31:33.527764137Z"}}