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 received
refuse()
/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.
Location of panic: https://github.com/quinn-rs/quinn/blob/bb02a12a8435a7732a1d762783eeacbb7e50418e/quinn-proto/src/endpoint.rs#L213
Denial of service for internet-facing server
{ "nvd_published_at": "2024-09-02T18:15:37Z", "cwe_ids": [ "CWE-670" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2024-09-03T20:49:26Z" }