CVE-2026-62299
MEDIUM
5.3
CVSS 3.1
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.
Metadata
Severity & Metrics
5.3
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| coredns | coredns | — | < 1.14.5 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-476 | cna | CWE-476: NULL Pointer Dereference |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 5.3 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
References (4)
- https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7 https://github.com/coredns/coredns/security/advisories/GHSA-9pmm-cxww-rrr7
- https://github.com/coredns/coredns/pull/8190 https://github.com/coredns/coredns/pull/8190
- https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2 https://github.com/coredns/coredns/commit/fc447d0658b093edc8cd29a6b171216a44a644c2
- https://github.com/coredns/coredns/releases/tag/v1.14.5 https://github.com/coredns/coredns/releases/tag/v1.14.5