CVE-2025-58063
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
EPSS Trends
Current EPSS score: 0.40%• Percentile: 35%
Techniques & Countermeasures
- CWE-681•Incorrect Conversion between Numeric Types
When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
Affected Systems
- chainguard•cloudflared
< 2026.2.0-r0
- chainguard•cloudflared-fips
< 2026.2.0-r0
- chainguard•eks-distro-coredns-1.29
< 1.29.53-r1
- chainguard•eks-distro-coredns-1.30
< 1.30.46-r1
- chainguard•eks-distro-coredns-1.31
< 1.31.35-r1
- chainguard•eks-distro-coredns-1.32
< 1.32.28-r1
- chainguard•eks-distro-coredns-1.33
< 1.33.18-r0 | < 1.33.18-r1
- chainguard•eks-distro-coredns-1.34
< 1.34.9-r1
- chainguard•eks-distro-coredns-fips-1.29
< 1.29.53-r1
- chainguard•eks-distro-coredns-fips-1.30
< 1.30.46-r1
- chainguard•eks-distro-coredns-fips-1.31
< 1.31.35-r1
- chainguard•eks-distro-coredns-fips-1.32
< 1.32.28-r1
- chainguard•eks-distro-coredns-fips-1.33
< 1.33.18-r1
- chainguard•eks-distro-coredns-fips-1.34
< 1.34.9-r1 | < 1.34.9-r0
- chainguard•juicefs-1.2
< 1.2.4-r4
- chainguard•juicefs-1.2-compat
< 1.2.4-r4
- chainguard•juicefs-1.3
< 1.3.0-r5
- chainguard•juicefs-1.3-compat
< 1.3.0-r5
- chainguard•k8s_gateway
< 1.6.1-r0
- chainguard•k8s_gateway-fips
< 1.6.1-r0
- chainguard•kubernetes-dns-node-cache
< 1.26.5-r1
- chainguard•kubernetes-dns-node-cache-fips
< 1.26.5-r1
- wolfi•cloudflared
< 2026.2.0-r0
- wolfi•juicefs-1.3
< 1.3.0-r5
- wolfi•juicefs-1.3-compat
< 1.3.0-r5
- wolfi•k8s_gateway
< 1.6.1-r0
- wolfi•kubernetes-dns-node-cache
< 1.26.5-r1
- coredns•coredns
≥ 1.2.0, < 1.12.4
- github.com/coredns•coredns
≥ 1.2.0, < 1.12.4
References (5)
- https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9
- https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf
- https://nvd.nist.gov/vuln/detail/CVE-2025-58063
- https://github.com/coredns/coredns
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58063.json