Allocation of Resources Without Limits or Throttling Affecting github.com/coredns/coredns/core/dnsserver package, versions <1.12.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCOREDNSCOREDNSCOREDNSSERVER-10332632
  • published8 Jun 2025
  • disclosed6 Jun 2025
  • creditVille Vesilehto

Introduced: 6 Jun 2025

NewCVE-2025-47950  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade github.com/coredns/coredns/core/dnsserver to version 1.12.2 or higher.

Overview

github.com/coredns/coredns/core/dnsserver is a package that implements all the interfaces from Caddy, so that CoreDNS can be a servertype plugin.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the DNS-over-QUIC (DoQ) server implementation. An attacker can cause uncontrolled memory consumption and potentially crash the system by opening many streams.

Note: This is only exploitable if quic:// is enabled and no limits are set on the number of concurrent streams or goroutines.

Workaround

This vulnerability can be mitigated by disabling QUIC support by removing or commenting out the quic:// block in the Corefile, using container runtime resource limits to detect and isolate excessive memory usage, and/or monitoring QUIC connection patterns and alerting on anomalies.

References

CVSS Base Scores

version 4.0
version 3.1