quinn-proto
Affected
- introduced
0.11.0, fixed0.11.7(semver)
Fixed versions
0.11.7
Fix
- Fixed version
0.11.7cargo update -p quinn-proto --precise 0.11.7
Advisory
Also known as: CVE-2024-45311, RUSTSEC-2024-0373
Denial of service in quinn-proto when using Endpoint::retry()
Summary
As of quinn-proto 0.11, it is possible for a server to accept(), retry(), refuse(), or ignore() an Incoming connection. However, calling retry() on an unvalidated connection exposes the server to a likely panic in the following situations:
refuse or ignore on the resulting validated connection, if a duplicate initial packet is receivedrefuse()/ignore() code path is exercised, such as to stop a denial of service attack.The former situation was observed in a real application, while the latter is only theoretical.
Details
Location of panic: https://github.com/quinn-rs/quinn/blob/bb02a12a8435a7732a1d762783eeacbb7e50418e/quinn-proto/src/endpoint.rs#L213
Impact
Denial of service for internet-facing server
High Basis: The source's own band: HIGH
0.11.0, fixed 0.11.7 (semver)0.11.7
0.11.7cargo update -p quinn-proto --precise 0.11.7Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0