GHSA-cq4q-cv5g-r8q5

Suggest an improvement
Source
https://github.com/advisories/GHSA-cq4q-cv5g-r8q5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-cq4q-cv5g-r8q5/GHSA-cq4q-cv5g-r8q5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cq4q-cv5g-r8q5
Aliases
Downstream
CGA (8)
ECHO (1)
MINI (8)
Published
2026-06-15T20:44:20Z
Modified
2026-09-10T03:51:08Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
Summary
Netty: QUIC stateless reset token material exposed through header-visible connection IDs
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-200",
        "CWE-330"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-15T20:44:20Z",
    "nvd_published_at":  "2026-06-12T16:16:31Z",
    "severity":  "MODERATE"
}
References

Affected packages

Maven / io.netty:netty-codec-classes-quic

Package

Name
io.netty:netty-codec-classes-quic
View open source insights on deps.dev
Purl
pkg:maven/io.netty/netty-codec-classes-quic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.0.Final
Fixed
4.2.15.Final

Affected versions

4.*
4.2.1.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.2.10.Final
4.2.11.Final
4.2.12.Final
4.2.13.Final
4.2.14.Final

Database specific

last_known_affected_version_range
"<= 4.2.14.Final"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-cq4q-cv5g-r8q5/GHSA-cq4q-cv5g-r8q5.json"