CVE-2026-62299 CoreDNS: rewrite-plugin EDNS0 response-revert nil-pointer panic (remote DoS) when a downstream plugin returns a response with no OPT record
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Red Hat
Description
CoreDNS is a DNS server written in Go. Prior to 1.14.5, the CoreDNS rewrite plugin supports edns0 rewrite rules with an optional revert flag, and two response rules, edns0SetResponseRule and edns0ReplaceResponseRule[T] in plugin/rewrite/edns0.go, call res.IsEdns0() and immediately dereference the returned *dns.OPT without a nil check when a downstream plugin returns a response with no OPT record. A remote, unauthenticated client can send a single ordinary DNS query matching a rewrite edns0 <local|nsid|subnet> <set|append|replace> ... revert rule, causing ResponseReverter in plugin/rewrite/reverter.go to panic, return SERVFAIL, and degrade availability, or crash the CoreDNS process if the debug directive disables recovery. This issue is fixed in version 1.14.5.
Upgrade path
8 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/openshift4/ose-coredns(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift4/ose-coredns-rhel9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/rhacm2/lighthouse-agent-rhel9(Red Hat acm 2) | All versions | No fix listed | No fix yet |
| redhat/rhacm2/lighthouse-coredns-rhel9(Red Hat acm 2) | All versions | No fix listed | No fix yet |
| redhat/rhcl-1/coredns-rhel9(Red Hat connectivity_link 1) | All versions | No fix listed | No fix yet |
| azure linux coredns(Azure Linux 3.0) | < 1.11.4-18; < 1.11.4-20 | 1.11.4-18, 1.11.4-20 | Fixed |
| coredns.io coredns | < 1.14.5 | 1.14.5 | Fixed |
| coredns | = < 1.14.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| coredns | = < 1.14.5 | No fix listed |
| redhat/rhacm2/lighthouse-agent-rhel9(Red Hat:acm:2) | All versions | No fix listed |
| redhat/rhacm2/lighthouse-coredns-rhel9(Red Hat:acm:2) | All versions | No fix listed |
| redhat/rhcl-1/coredns-rhel9(Red Hat:connectivity_link:1) | All versions | No fix listed |
| redhat/openshift4/ose-coredns(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-coredns-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| coredns.io coredns | < 1.14.5 | 1.14.5 |
| azure linux coredns(Azure Linux:3.0) | < 1.11.4-20 | 1.11.4-20 |
| azure linux coredns(Azure Linux:3.0) | < 1.11.4-18 | 1.11.4-18 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7 exploit third-party-advisory
- https://github.com/coredns/coredns/pull/8190 issue-tracking patch
- https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2 patch
- https://github.com/coredns/coredns/releases/tag/v1.14.5 release-notes
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2501539 issue-tracking
- www.cve.org
- nvd.nist.gov