<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sun, 04 Oct 2026 05:30:10 +0000</lastBuildDate>
    <item>
      <title>GHSA-63cw-r7xf-jmwr — CoreDNS DoH GET oversized dns= query parameter causes pre-validation CPU and memory amplification</title>
      <link>https://db.gcve.eu/vuln/ghsa-63cw-r7xf-jmwr</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/coredns/coredns&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;CoreDNS&amp;#39;s DNS-over-HTTPS (DoH) GET path accepts oversized `dns=` query values and performs substantial request parsing, query unescaping, base64 decoding, and message unpacking work before returning `400 Bad Request`.&lt;/p&gt;
&lt;p&gt;A remote, unauthenticated attacker can repeatedly send oversized DoH GET requests to `/dns-query?dns=...` and force high CPU usage, large transient allocations, elevated garbage-collection pressure, and increased resident memory consumption even though the requests are ultimately rejected.&lt;/p&gt;
&lt;p&gt;This is a denial-of-service issue caused by expensive pre-validation processing on the DoH GET path.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerable flow is in `plugin/pkg/doh/doh.go`:&lt;/p&gt;
&lt;p&gt;- `RequestToMsg()` dispatches GET requests to `requestToMsgGet()`:
  - `plugin/pkg/doh/doh.go:79-89`
- `requestToMsgGet()` calls `req.URL.Query()`, extracts `dns`, and passes it directly to `base64ToMsg()`:
  - `plugin/pkg/doh/doh.go:99-108`
- `base64ToMsg()` decodes the full attacker-controlled value via `b64Enc.DecodeString()` and only then attempts to unpack it into a DNS message:
  - `plugin/pkg/doh/doh.go:121-130`&lt;/p&gt;
&lt;p&gt;Relevant snippet:&lt;/p&gt;
&lt;p&gt;```go
func requestToMsgGet(req *http.Request) (*dns.Msg, error) {
    values := req.URL.Query()
    b64, ok := values[&amp;#34;dns&amp;#34;]
    if !ok {
        return nil, fmt.Errorf(&amp;#34;no &amp;#39;dns&amp;#39; query parameter found&amp;#34;)
    }
    if len(b64) != 1 {
        return nil, fmt.Errorf(&amp;#34;multiple &amp;#39;dns&amp;#39; query values found&amp;#34;)
    }
    return base64ToMsg(b64[0])
}&lt;/p&gt;
&lt;p&gt;func base64ToMsg(b64 stri…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/coredns/coredns&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;CoreDNS&amp;#39;s DNS-over-HTTPS (DoH) GET path accepts oversized `dns=` query values and performs substantial request parsing, query unescaping, base64 decoding, and message unpacking work before returning `400 Bad Request`.&lt;/p&gt;
&lt;p&gt;A remote, unauthenticated attacker can repeatedly send oversized DoH GET requests to `/dns-query?dns=...` and force high CPU usage, large transient allocations, elevated garbage-collection pressure, and increased resident memory consumption even though the requests are ultimately rejected.&lt;/p&gt;
&lt;p&gt;This is a denial-of-service issue caused by expensive pre-validation processing on the DoH GET path.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerable flow is in `plugin/pkg/doh/doh.go`:&lt;/p&gt;
&lt;p&gt;- `RequestToMsg()` dispatches GET requests to `requestToMsgGet()`:
  - `plugin/pkg/doh/doh.go:79-89`
- `requestToMsgGet()` calls `req.URL.Query()`, extracts `dns`, and passes it directly to `base64ToMsg()`:
  - `plugin/pkg/doh/doh.go:99-108`
- `base64ToMsg()` decodes the full attacker-controlled value via `b64Enc.DecodeString()` and only then attempts to unpack it into a DNS message:
  - `plugin/pkg/doh/doh.go:121-130`&lt;/p&gt;
&lt;p&gt;Relevant snippet:&lt;/p&gt;
&lt;p&gt;```go
func requestToMsgGet(req *http.Request) (*dns.Msg, error) {
    values := req.URL.Query()
    b64, ok := values[&amp;#34;dns&amp;#34;]
    if !ok {
        return nil, fmt.Errorf(&amp;#34;no &amp;#39;dns&amp;#39; query parameter found&amp;#34;)
    }
    if len(b64) != 1 {
        return nil, fmt.Errorf(&amp;#34;multiple &amp;#39;dns&amp;#39; query values found&amp;#34;)
    }
    return base64ToMsg(b64[0])
}&lt;/p&gt;
&lt;p&gt;func base64ToMsg(b64 stri…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-63cw-r7xf-jmwr</guid>
    </item>
  </channel>
</rss>
