CVE-2025-58063 Details
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.
A vulnerability exists in the CoreDNS etcd plugin, specifically in versions 1.2.0 prior to 1.12.4, where lease IDs from etcd are incorrectly used as Time-To-Live (TTL) values. This mismanagement creates a DNS cache pinning issue, allowing records to be cached for excessively long periods, which can disrupt normal DNS updates and changes. The vulnerability arises because the TTL function in the etcd plugin improperly casts 64-bit lease IDs to uint32, leading to large lease IDs being interpreted as extended TTLs. As a result, downstream DNS resolvers may cache responses for years, creating a denial-of-service condition for affected services.
Users can update to CoreDNS version 1.12.4 or later, where this vulnerability has been fixed. The updated version ensures that the TTL function correctly retrieves TTL values from etcd's Lease API, rather than misusing lease IDs. Additionally, users can configure minimum and maximum lease TTL values to prevent extreme TTLs from being set.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 9, 2025CISA-ADP
Assessed Sep 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf | [email protected] | Source CodeVendor |
| https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-681 | Incorrect Conversion between Numeric Types | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| CoreDNS | >= 1.2.0, < 1.12.4 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 10, 2025 | CVE Modified | CISA-ADP |
| Sep 9, 2025 | New CVE Received | [email protected] |
Volerion