CVE-2025-58063

Name
CVE-2025-58063
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf
CONFIRM https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9

Match rules

CPE URI Source package Min version Max version
coredns >= 1.2.0 < 1.12.4

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
coredns edge-community 1.12.3-r5 Achill Gilgenast <achill@achill.org> possibly vulnerable
coredns edge-community 1.12.3-r4 Achill Gilgenast <achill@achill.org> possibly vulnerable
coredns edge-community 1.12.3-r3 Achill Gilgenast <achill@achill.org> possibly vulnerable
coredns edge-community 1.12.3-r2 Achill Gilgenast <achill@achill.org> possibly vulnerable
coredns edge-community 1.12.3-r1 fossdd <fossdd@pwned.life> possibly vulnerable
coredns edge-community 1.12.3-r0 fossdd <fossdd@pwned.life> possibly vulnerable
coredns edge-community 1.12.2-r1 fossdd <fossdd@pwned.life> possibly vulnerable
coredns edge-community 1.12.2-r0 fossdd <fossdd@pwned.life> possibly vulnerable
coredns edge-community 1.12.1-r2 fossdd <fossdd@pwned.life> possibly vulnerable
coredns edge-community 1.12.1-r1 fossdd <fossdd@pwned.life> possibly vulnerable
coredns edge-community 1.12.1-r0 fossdd <fossdd@pwned.life> possibly vulnerable
coredns edge-community 1.12.0-r5 fossdd <fossdd@pwned.life> possibly vulnerable
coredns edge-community 1.12.0-r4 fossdd <fossdd@pwned.life> possibly vulnerable
coredns edge-community 1.12.0-r3 fossdd <fossdd@pwned.life> possibly vulnerable
coredns edge-community 1.12.0-r1 Mark Pashmfouroush <mark@markpash.me> possibly vulnerable
coredns edge-community 1.12.0-r0 Mark Pashmfouroush <mark@markpash.me> possibly vulnerable
coredns edge-community 1.11.3-r0 Mark Pashmfouroush <mark@markpash.me> possibly vulnerable
coredns edge-community 1.9.3-r0 Mark Pashmfouroush <mark@markpash.me> possibly vulnerable
coredns 3.23-community 1.12.3-r7 Achill Gilgenast <achill@achill.org> possibly vulnerable
coredns 3.23-community 1.12.3-r6 Achill Gilgenast <achill@achill.org> possibly vulnerable
coredns 3.23-community 1.12.3-r5 Achill Gilgenast <achill@achill.org> possibly vulnerable
coredns 3.22-community 1.12.1-r6 fossdd <fossdd@pwned.life> possibly vulnerable
coredns 3.22-community 1.12.1-r5 fossdd <fossdd@pwned.life> possibly vulnerable
coredns 3.22-community 1.12.1-r4 fossdd <fossdd@pwned.life> possibly vulnerable
coredns 3.22-community 1.12.1-r3 fossdd <fossdd@pwned.life> possibly vulnerable
coredns 3.22-community 1.11.3-r5 Mark Pashmfouroush <mark@markpash.me> possibly vulnerable
coredns 3.22-community 1.9.3-r0 None possibly vulnerable