Incorrect Conversion between Numeric Types Affecting github.com/coredns/coredns/plugin/etcd package, versions >=1.2.0 <1.12.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (13th 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 IDSNYK-GOLANG-GITHUBCOMCOREDNSCOREDNSPLUGINETCD-12668769
  • published14 Sept 2025
  • disclosed9 Sept 2025
  • creditVille Vesilehto

Introduced: 9 Sep 2025

NewCVE-2025-58063  (opens in a new tab)
CWE-681  (opens in a new tab)

How to fix?

Upgrade github.com/coredns/coredns/plugin/etcd to version 1.12.4 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Conversion between Numeric Types via the TTL() function, which casts the 64-bit etcd lease ID to a uint32 and uses it as the TTL. An attacker can cause prolonged caching of DNS records and disrupt DNS resolution by supplying large etcd lease IDs that are misinterpreted as TTL values.

References

CVSS Base Scores

version 4.0
version 3.1