Loading advisory.
Loading advisory.
Netty: DNS Cache Poisoning due to Predictable PRNG and Default Static Source Port
Netty's DNS resolver uses a predictable PRNG for generating DNS transaction IDs and defaults to a static UDP source port. This combination reduces the entropy of DNS queries, enabling DNS Cache Poisoning (Kaminsky attack).
Published 2026-06-08 23:02 UTC · Modified 2026-09-10 03:51 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| io.netty:netty-resolver-dns | Maven | >= 4.2.0.Final, < 4.2.15.Final < 4.1.135.Final versions 4.2.0.Final, 4.2.1.Final, 4.2.10.Final, 4.2.11.Final, 4.2.12.Final, 4.2.13.Final, 4.2.14.Final, 4.2.2.Final, 4.2.3.Final, 4.2.4.Final, 4.2.5.Final, 4.2.6.Final, 4.2.7.Final, 4.2.8.Final, 4.2.9.Final, 4.1.0.Beta4, 4.1.0.Beta5, 4.1.0.Beta6, 4.1.0.Beta7, 4.1.0.Beta8 and 142 more | 4.2.15.Final, 4.1.135.Final | No single command for Maven. Update to 4.2.15.Final, 4.1.135.Final in your build file. |
Netty's DNS resolver uses a predictable PRNG for generating DNS transaction IDs and defaults to a static UDP source port. This combination reduces the entropy of DNS queries, enabling DNS Cache Poisoning (Kaminsky attack).
Two factors contribute to this vulnerability in io.netty.resolver.dns:
Predictable Query IDs: DnsQueryIdSpace manages 16-bit transaction IDs in buckets of 16,384 IDs. It initializes only the first bucket. When an ID is returned, it is pushed back into the bucket at a random index generated by java.util.concurrent.ThreadLocalRandom:
Random random = ThreadLocalRandom.current();
int insertionPosition = random.nextInt(count + 1);Because ThreadLocalRandom is a predictable LCG and the resolver operates within a single bucket, the sequence of IDs is predictable once the PRNG state is mathematically recovered.
Default Static Source Port: DnsNameResolverBuilder defaults to a channelStrategy of ChannelPerResolver. This binds the DatagramChannel once, resulting in a static source port for all subsequent queries.
Combined, a static source port and predictable transaction IDs reduces the entropy required to secure DNS resolution against spoofing.
DNS Cache Poisoning. Downstream applications using the default Netty DNS resolver may connect to malicious IPs, leading to traffic interception or MitM attacks.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.003 | v2026.06.15 |