CVE-2024-45311
Quinn Project Quinn vulnerability
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.
Affected products
Quinn. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Quinn Project Quinn runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/quinn-rs/quinn/security/advisories/GHSA-vr26-jcq5-fjj8 · Vendor Advisory
- github.com/quinn-rs/quinn/commit/e01609ccd8738bd438d86fa7185a0f85598cb58f · Patch
- github.com/quinn-rs/quinn/blob/bb02a12a8435a7732a1d762783eeacbb7e50418e/quinn-proto/src/en
- nvd.nist.gov/vuln/detail/CVE-2024-45311
- github.com/quinn-rs/quinn
- rustsec.org/advisories/RUSTSEC-2024-0373.html
- github.com/advisories/GHSA-vr26-jcq5-fjj8
- nvd.nist.gov/vuln/detail/CVE-2024-45311
- cve.org/CVERecord?id=CVE-2024-45311
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.