openEuler Security Advisory
OESA-2026-2720
coredns security update
Details
CoreDNS is a fast and flexible DNS server. The key word here is flexible: with CoreDNS you are able to do what you want with your DNS data by utilizing plugins.
Security Fix(es):
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.(CVE-2025-58063)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP4 | coredns | All versions before 1.7.0-1.2.oe2003sp4 (fixed in 1.7.0-1.2.oe2003sp4) |
| openEuler:22.03-LTS-SP4 | coredns | All versions before 1.7.0-1.4.oe2203sp4 (fixed in 1.7.0-1.4.oe2203sp4) |
| openEuler:24.03-LTS-SP1 | coredns | All versions before 1.7.0-1.4.oe2403sp1 (fixed in 1.7.0-1.4.oe2403sp1) |
| openEuler:24.03-LTS-SP3 | coredns | All versions before 1.7.0-1.4.oe2403sp3 (fixed in 1.7.0-1.4.oe2403sp3) |