DHI-nhpa-gmvz-46qs-mljf
### Summary
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-24
- Product
- coredns-dev
Description
### Summary A network DNS client allowed to request AXFR for a CoreDNS zone can trigger a panic when CoreDNS is configured with `k8s_external` headless-service zone transfers and Kubernetes contains a headless service endpoint with no declared ports. The built-in `k8s_external` transferer can emit an empty `[]dns.RR` batch, and the shared `transfer` plugin indexes `records[0]` without checking that the batch is non-empty. In normal CoreDNS mode the panic is recovered and returned as `SERVFAIL`, but repeated triggering can disrupt requests and amplify panic logging; if the `debug` plugin disables recovery, the same path can crash the CoreDNS process. ### Details `plugin/transfer/transfer.go` assumes that every `Transferer` emits only non-empty `[]dns.RR` batches. During AXFR/IXFR response generation it indexes `records[0]` without checking the slice length: - `plugin/transfer/transfer.go:129-131` ```go for records := range pchan { if x, ok := records[0].(*dns.SOA); ok && soa == nil { soa = x } ``` The built-in `k8s_external` transferer violates that contract for headless services whose endpoints have no declared ports. `plugin/k8s_external/transfer.go` sends the SRV result slice unc
Sources
- OSV · first seen 8d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-nhpa-gmvz-46qs-mljf advisory
- https://github.com/advisories/GHSA-74w3-63xv-x9mv advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-62994 advisory
- https://github.com/coredns/coredns/security/advisories/GHSA-74w3-63xv-x9mv advisory
- https://github.com/coredns/coredns/pull/8207 fix
- https://github.com/coredns/coredns/commit/ab318db7b4a3a19273852ed627f54888198c8efb fix
- https://github.com/coredns/coredns/releases/tag/v1.14.5 web
- https://pkg.go.dev/vuln/GO-2026-6805 advisory