CVE-2026-50009
Netty: QUIC stateless reset token material exposed through header-visible connection IDs
Description
Summary
Netty QUIC exposes the stateless reset token on the network path when using the default HMAC-based connection-ID and stateless-reset-token generators. The reset token for the server's current source connection ID can be derived from bytes that appear as the connection ID in QUIC headers after a source-CID rotation. An on-path attacker observing the headers can use the token to perform a Denial of Service by sending a spoofed Stateless Reset packet.
Details
The sign-based connection ID generator (HmacSignQuicConnectionIdGenerator) and reset token generator (HmacSignQuicResetTokenGenerator) both evaluate HMAC-SHA256 with the same JVM-wide static key (io.netty.handler.codec.quic.Hmac).
During source CID rotation (QuicheQuicChannel.newSourceConnectionIds), the current server source CID C is used as input to produce the next CID N. The stateless reset token for C is defined over HMAC(K, C), specifically the first 16 bytes. The next CID N is the first L bytes of the same digest, where L = |C|.
Whenever L ≥ 16, the first 16 bytes of N are exactly the stateless reset token for C. Because N is carried in QUIC headers as a connection ID, an observer can read the headers and learn the reset token without decrypting the payload.
This directly violates RFC 9000
https://datatracker.ietf.org/doc/html/rfc9000#name-calculating-a-stateless-res: The stateless reset token MUST be difficult to guess.
Additionally https://datatracker.ietf.org/doc/html/rfc9000#name-stateless-reset-oracle
Impact
Information Disclosure and Denial of Service. An on-path attacker can obtain the stateless reset token from the connection ID header and attempt to abruptly close the client side of the connection by sending a spoofed Stateless Reset datagram.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.netty » netty-codec-classes-quic | >= 4.2.0.Final, < 4.2.15.Final | 4.2.15.Final |
Blast radius
51% of the dependent artifacts (1,007) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 171 |
| 2 hops | 1,876 |
| 3 hops | 3,154 |
| 4 hops | 3,467 |
| 5 hops | 4,051 |
| 6 hops | 5,738 |
Most used dependents
- io.netty » netty-all3,584 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.springframework.boot » spring-boot-starter-webflux2,764 usages
- io.vertx » vertx-core2,116 usages
- io.vertx » vertx-web927 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.spark » spark-streaming670 usages
- io.vertx » vertx-unit647 usages
- com.vaadin » vaadin-core640 usages
- org.apache.spark » spark-hive633 usages
- io.vertx » vertx-web-client523 usages
- org.apache.spark » spark-catalyst502 usages
- org.apache.synapse » synapse-core453 usages
- io.projectreactor.netty » reactor-netty376 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
