GHSA-m3hh-f9gh-74c2

Suggest an improvement
Source
https://github.com/advisories/GHSA-m3hh-f9gh-74c2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-m3hh-f9gh-74c2/GHSA-m3hh-f9gh-74c2.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-m3hh-f9gh-74c2
Aliases
Published
2025-08-07T20:53:40Z
Modified
2025-08-07T21:27:26.182932Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
quiche connection ID retirement can trigger an infinite loop
Details

Impact

Cloudflare quiche was discovered to be vulnerable to an infinite loop when sending packets containing RETIRECONNECTIONID frames.

QUIC connections possess a set of connection identifiers (IDs); see Section 5.1 of RFC 9000. Once the QUIC handshake completes, a local endpoint is responsible for issuing and retiring Connection IDs that are used by the remote peer to populate the Destination Connection ID field in packets sent from remote to local. Each Connection ID has a sequence number to ensure synchronization between peers

An unauthenticated remote attacker can exploit this vulnerability by first completing a handshake and then sending a specially-crafted set of frames that trigger a connection ID retirement in the victim. When the victim attempts to send a packet containing RETIRECONNECTIONID frames, Section 19.16 of RFC 9000 requires that the sequence number of the retired connection ID must not be the same as the sequence number of the connection ID used by the packet. In other words, a packet cannot contain a frame that retires itself. In scenarios such as path migration, it is possible for there to be multiple active paths with different active connection IDs that could be used to retire each other. The exploit triggered an unintentional behaviour of a quiche design feature that supports retirement across paths while maintaining full connection ID synchronization, leading to an infinite loop.

Patches

quiche 0.24.5 is the earliest version containing the fix for the issue

Database specific
{
    "nvd_published_at": "2025-08-07T16:15:31Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-835"
    ],
    "github_reviewed_at": "2025-08-07T20:53:40Z",
    "severity": "HIGH"
}
References

Affected packages

crates.io / quiche

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.15.0
Fixed
0.24.5