{"id":"CVE-2025-58063","published":"2025-09-09T19:27:18Z","modified":"2025-09-10T14:26:13Z","title":"CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion","vendor":"coredns","product":"coredns","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00506,"percentile":0.44138,"provenance":"source"},"cwes":[{"id":"CWE-681","name":"Incorrect Conversion between Numeric Types"}],"references":[{"url":"https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf","tags":["x_refsource_MISC"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":8.83},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"coredns","affectedVersions":[{"vendor":"coredns","product":"coredns","versions":[">= 1.2.0, < 1.12.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-10T14:26:10.971285Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/coredns/coredns","vulnerableRanges":[">=1.2.0, <1.12.4"],"patched":["1.12.4"],"from":["GHSA-93mf-426m-g6x9","GO-2025-3942"],"provenance":"source"}],"summary":{"text":"The CoreDNS etcd plugin's TTL() function in plugin/etcd/etcd.go casts etcd lease IDs to uint32 and uses them as TTL values, affecting CoreDNS releases from 1.2.0 up to but not including 1.12.4. An attacker with network access and low-privilege authentication can cause DNS answers to be cached for very large TTLs, pinning stale records and effectively denying DNS resolution for affected services, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:41Z"},"euvd":{"id":"EUVD-2025-33973","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-30464","published":"2024-09-18","fixed":"1.11.0","kev":false},{"cve":"CVE-2024-0874","published":"2024-04-25","fixed":"1.11.2","kev":false},{"cve":"CVE-2025-47950","published":"2025-06-06","fixed":"1.12.2","kev":false,"link":{"from":"CVE-2025-47950","to":"CVE-2025-58063","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/coredns/coredns","fromFixed":"1.12.2","toFixed":"1.12.4","daysApart":95}]}},{"cve":"CVE-2025-58063","published":"2025-09-09","fixed":"1.12.4","kev":false},{"cve":"CVE-2025-68151","published":"2026-01-08","fixed":"1.14.0","kev":false,"link":{"from":"CVE-2025-58063","to":"CVE-2025-68151","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/coredns/coredns","fromFixed":"1.12.4","toFixed":"1.14.0","daysApart":121}]}},{"cve":"CVE-2026-26017","published":"2026-03-06","fixed":"1.14.2","kev":false},{"cve":"CVE-2026-26018","published":"2026-03-06","fixed":"1.14.2","kev":false}],"package":"Go:github.com/coredns/coredns"}}