Vulnerability
CVE-2024-45311
Quinn is a pure-Rust, async-compatible implementation of the IETF QUIC transport protocol. 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: 1. Calling `refuse` or `ignore` on the resulting validated connection, if a duplicate initial packet is received. This issue can go undetected until a server's `refuse()`/`ignore()` code path is exercised, such as to stop a denial of service attack. 2. Accepting when the initial packet for the resulting validated connection fails to decrypt or exhausts connection IDs, if a similar initial packet that successfully decrypts and doesn't exhaust connection IDs is received. This issue can go undetected if clients are well-behaved. The former situation was observed in a real application, while the latter is only theoretical.
36 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-3g72-h459-mjm6
- CGA-3wc6-38qh-gvxp
- CGA-43x2-pcw8-p2j8
- CGA-5c78-3669-v8hr
- CGA-669c-8g8f-w24x
- CGA-79g6-4vjr-w5xg
- CGA-7gcm-9qxc-xj49
- CGA-7wjm-x354-f5rh
- CGA-836x-xvvm-q27v
- CGA-8q79-hp4x-8382
- CGA-95h7-9gf4-2c43
- CGA-c3gh-m9r5-x6v6
- CGA-ccqp-6mpj-4vg8
- CGA-cfh8-rj8x-xhpj
- CGA-cgj4-fm99-3cgc
- CGA-f8x4-3xpj-pqwm
- CGA-fm2h-r9cp-ff9c
- CGA-fpr8-289g-f4f2
- CGA-g246-j79m-cf9m
- CGA-g936-fm93-mvv7
- CGA-gjvq-ggrg-3926
- CGA-hcgr-gpp8-qq2g
- CGA-hf92-h9m9-82c5
- CGA-m5pq-cmr6-3vf5
- CGA-mxhj-3r5h-m9gr
- CGA-qch5-24qc-7wrw
- CGA-qqr2-q5fg-83q3
- CGA-r266-96gj-r359
- CGA-rfc6-v22m-3wg9
- CGA-v2x4-f74f-729f
- CGA-vp66-v486-pqp5
- CGA-w66h-jc37-73cj
- CGA-wh2p-632w-7356
- CGA-wqq3-97pq-xrvg
-
GHSA-vr26-jcq5-fjj8
Denial of service in quinn-proto when using `Endpoint::retry()`
-
RUSTSEC-2024-0373
`Endpoint::retry()` calls can lead to panicking