Generation of Predictable Numbers or Identifiers Affecting io.netty:netty-resolver-dns package, versions [,4.1.135.Final)[4.2.0.Final,4.2.15.Final)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (17th 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-JAVA-IONETTY-17261131
  • published9 Jun 2026
  • disclosed8 Jun 2026
  • creditVioleta Georgieva

Introduced: 8 Jun 2026

CVE-2026-45673  (opens in a new tab)
CWE-340  (opens in a new tab)

How to fix?

Upgrade io.netty:netty-resolver-dns to version 4.1.135.Final, 4.2.15.Final or higher.

Overview

Affected versions of this package are vulnerable to Generation of Predictable Numbers or Identifiers due to the use of a predictable pseudo-random number generator for DNS transaction IDs and a default static UDP source port in the DNS resolution process. An attacker can redirect network traffic or perform man-in-the-middle attacks by spoofing DNS responses.

Note:

This is only exploitable if the attacker's forged response arrives before the legitimate DNS reply. The timing window is not guaranteed.

CVSS Base Scores

version 4.0
version 3.1