Cyber Security News

CoreDNS Vulnerability Allows Attackers to Exhaust Server Memory via Amplification Attack

A high-severity vulnerability (CVE-2025-47950) in CoreDNS’s DNS-over-QUIC (DoQ) implementation enables remote attackers to crash DNS servers through stream amplification attacks.

Patched in v1.21.2, this flaw highlights risks in modern protocol adoption for cloud-native systems

Goroutine Proliferation in DoQ Implementation

The vulnerability stems from CoreDNS’s handling of QUIC streams in its server_quic.go component.

For every incoming QUIC stream, the server spawned a new goroutine without concurrency limits, creating a 1:1 stream-to-goroutine mapping.

This design allowed attackers to:

  • Open unlimited streams via single/multiple QUIC connections
  • Trigger OOM crashes in memory-constrained environments (common in Kubernetes/container setups)
  • Bypass authentication using standard DNS-over-QUIC handshakes
go// Vulnerable pre-1.21.2 code snippet from server_quic.go  
func (s *Server) handleStream(stream quic.Stream) {  
    go s.processStream(stream) // Uncontrolled goroutine creation  
}  

The attack requires minimal bandwidth (~1 MB/s for 10k streams) and no privileges, earning a CVSSv3 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).


Mitigation Strategies: Concurrent Stream Throttling

The patch introduces two concurrency controls via new Corefile directives:

ParameterDefaultFunction
max_streams256Limits streams per QUIC connection
worker_pool_size1024Sets global worker pool for stream processing
bashquic {  
    max_streams 256          # Prevents single-connection attacks  
    worker_pool_size 1024    # Global stream processing cap  
}  

For unpatched systems, administrators can:

  • Disable DoQ by removing quic:// from Corefile
  • Implement Kubernetes resources.limits for memory/cpu
  • Monitor QUIC traffic for abnormal stream counts (>500/sec)

Cloud DNS Infrastructure Exposure

Risk FactorSeverity LevelDetails
Attack SurfaceCritical78% of Kubernetes clusters use CoreDNS
Exploit EffortLowRequires standard QUIC client tools
ImpactHighCluster-wide DNS outage in 90 seconds
Patching CadenceModerate40% of enterprises update DNS >30 days

Red Hat’s modified CVSS score (5.3) underestimates containerized environments where OOM kills cascade to pod rescheduling storms.

The vulnerability particularly threatens:

  • Multi-tenant SaaS platforms using shared CoreDNS instances
  • Edge computing nodes with limited RAM (e.g., <4GB)
  • CI/CD pipelines relying on DNS-based service discovery

Security teams should prioritize upgrades using go get github.com/coredns/coredns@v1.21.2 and audit QUIC usage via:

bashkubectl get cm -n kube-system coredns -o yaml | grep "quic://"  

This incident underscores the tension between adopting newer protocols (QUIC) and maintaining backward-compatible security models – a challenge likely to intensify as DoQ adoption grows 300% YoY.

Find this News Interesting! Follow us on Google News, LinkedIn, & X to Get Instant Updates

Anupriya

Any Priya is a cybersecurity reporter at GBHackers On Security, specializing in cyber attacks, dark web monitoring, data breaches, vulnerabilities, and malware. She delivers in-depth analysis on emerging threats and digital security trends.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

2 days ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

2 days ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

2 days ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

2 days ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago