<?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 04:30:45 +0000</lastBuildDate>
    <item>
      <title>GHSA-h75p-j8xm-m278 — CoreDNS Loop Detection Denial of Service Vulnerability</title>
      <link>https://db.gcve.eu/vuln/ghsa-h75p-j8xm-m278</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/coredns/coredns&lt;/p&gt;
&lt;p&gt;## Executive Summary&lt;/p&gt;
&lt;p&gt;A Denial of Service vulnerability exists in CoreDNS&amp;#39;s loop detection plugin that allows an attacker to crash the DNS server by sending specially crafted DNS queries. The vulnerability stems from the use of a predictable pseudo-random number generator (PRNG) for generating a secret query name, combined with a fatal error handler that terminates the entire process.&lt;/p&gt;
&lt;p&gt;---
## Technical Details&lt;/p&gt;
&lt;p&gt;### Vulnerability Description&lt;/p&gt;
&lt;p&gt;The CoreDNS `loop` plugin is designed to detect forwarding loops by performing a self-test during server startup. The plugin generates a random query name (`qname`) using Go&amp;#39;s `math/rand` package and sends an HINFO query to itself. If the server receives multiple matching queries, it assumes a forwarding loop exists and terminates.&lt;/p&gt;
&lt;p&gt;**The vulnerability arises from two design flaws:**&lt;/p&gt;
&lt;p&gt;1. **Predictable PRNG Seed**: The random number generator is seeded with `time.Now().UnixNano()`, making the generated qname predictable if an attacker knows the approximate server start time.&lt;/p&gt;
&lt;p&gt;2. **Fatal Error Handler**: When the plugin detects what it believes is a loop (3+ matching HINFO queries), it calls `log.Fatalf()` which invokes `os.Exit(1)`, immediately terminating the process without cleanup or recovery.&lt;/p&gt;
&lt;p&gt;### Affected Code&lt;/p&gt;
&lt;p&gt;**File: `plugin/loop/setup.go`**
```go
// PRNG seeded with predictable timestamp
var r = rand.New(time.Now().UnixNano())&lt;/p&gt;
&lt;p&gt;// Qname generation using two consecutive PRNG calls
func qname(zone string) string {
    l1 := strconv.…&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;## Executive Summary&lt;/p&gt;
&lt;p&gt;A Denial of Service vulnerability exists in CoreDNS&amp;#39;s loop detection plugin that allows an attacker to crash the DNS server by sending specially crafted DNS queries. The vulnerability stems from the use of a predictable pseudo-random number generator (PRNG) for generating a secret query name, combined with a fatal error handler that terminates the entire process.&lt;/p&gt;
&lt;p&gt;---
## Technical Details&lt;/p&gt;
&lt;p&gt;### Vulnerability Description&lt;/p&gt;
&lt;p&gt;The CoreDNS `loop` plugin is designed to detect forwarding loops by performing a self-test during server startup. The plugin generates a random query name (`qname`) using Go&amp;#39;s `math/rand` package and sends an HINFO query to itself. If the server receives multiple matching queries, it assumes a forwarding loop exists and terminates.&lt;/p&gt;
&lt;p&gt;**The vulnerability arises from two design flaws:**&lt;/p&gt;
&lt;p&gt;1. **Predictable PRNG Seed**: The random number generator is seeded with `time.Now().UnixNano()`, making the generated qname predictable if an attacker knows the approximate server start time.&lt;/p&gt;
&lt;p&gt;2. **Fatal Error Handler**: When the plugin detects what it believes is a loop (3+ matching HINFO queries), it calls `log.Fatalf()` which invokes `os.Exit(1)`, immediately terminating the process without cleanup or recovery.&lt;/p&gt;
&lt;p&gt;### Affected Code&lt;/p&gt;
&lt;p&gt;**File: `plugin/loop/setup.go`**
```go
// PRNG seeded with predictable timestamp
var r = rand.New(time.Now().UnixNano())&lt;/p&gt;
&lt;p&gt;// Qname generation using two consecutive PRNG calls
func qname(zone string) string {
    l1 := strconv.…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-h75p-j8xm-m278</guid>
    </item>
  </channel>
</rss>
