{"id":"CVE-2024-45311","aliases":["CVE-2024-45311","GHSA-vr26-jcq5-fjj8","RUSTSEC-2024-0373"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of service in quinn-proto when using `Endpoint::retry()`","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nAs 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:\n\n- Calling `refuse` or `ignore` on the resulting validated connection, if a duplicate initial packet is received\n  - This issue can go undetected until a server's `refuse()`/`ignore()` code path is exercised, such as to stop a denial of service attack.\n- 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.\n  - This issue can go undetected if clients are well-behaved.\n\nThe former situation was observed in a real application, while the latter is only theoretical.\n\n### Details\n\nLocation of panic: https://github.com/quinn-rs/quinn/blob/bb02a12a8435a7732a1d762783eeacbb7e50418e/quinn-proto/src/endpoint.rs#L213\n\n### Impact\nDenial of service for internet-facing server","format":"markdown","source":"ghsa"},{"lang":"en","text":"In 0.11.0, we overhauled the server-side `Endpoint` implementation to enable\nmore careful handling of incoming connection attempts. However, some of the\ncode paths that cleaned up state after connection attempts were processed\nconfused the initial destination connection ID with the destination connection\nID of a substantial package. This resulted in the internal `Endpoint` state\nbecoming inconsistent, which could then lead to a panic.\n\nhttps://github.com/quinn-rs/quinn/commit/e01609ccd8738bd438d86fa7185a0f85598cb58f\n\nThanks to [@finbear](https://github.com/finnbear) for reporting and investingating,\nand to [@BiagoFesta](https://github.com/BiagoFesta) for coordinating.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Quinn es una implementación compatible con async y puramente Rust del protocolo de transporte IETF QUIC. A partir del protocolo quinn 0.11, es posible que un servidor `accept()`, `retry()`, `refuse()` o `ignore()` una conexión `Incoming`. Sin embargo, llamar a `retry()` en una conexión no validada expone al servidor a un posible pánico en las siguientes situaciones: 1. Llamar a `refuse` o `ignore` en la conexión validada resultante, si se recibe un paquete inicial duplicado. Este problema puede pasar desapercibido hasta que se ejerza la ruta de código `refuse()`/`ignore()` de un servidor, como para detener un ataque de denegación de servicio. 2. Aceptar cuando el paquete inicial para la conexión validada resultante no logra descifrar o agota los ID de conexión, si se recibe un paquete inicial similar que descifra con éxito y no agota los ID de conexión. Este problema puede pasar desapercibido si los clientes se comportan bien. La primera situación se observó en una aplicación real, mientras que la segunda es sólo teórica.","source":"nvd"}],"published":"2024-09-02T12:00:00.000Z","modified":"2026-09-10T03:50:18.985Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-670"],"affected":[{"ranges":[{"version":">= 0.11.0, < 0.11.7","status":"affected"}],"vendor":"quinn-rs","product":"quinn","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0.11.0","fixed":"0.11.7","status":"affected"}],"vendor":"quinn_project","product":"quinn","cpe":"cpe:2.3:a:quinn_project:quinn:*:*:*:*:*:rust:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.11.0","status":"affected","fixed":"0.11.7"}],"ecosystem":"crates.io","package":"quinn-proto","purl":"pkg:cargo/quinn-proto","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.11.0","status":"affected","fixed":"0.11.7"}],"ecosystem":"crates.io","package":"quinn-proto","purl":"pkg:cargo/quinn-proto","source":"rustsec"},{"ranges":[{"status":"affected","introduced":"0.11.0","fixed":"0.11.4"}],"vendor":"quinn_project","product":"quinn","cpe":"cpe:2.3:a:quinn_project:quinn:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/quinn-rs/quinn/security/advisories/GHSA-vr26-jcq5-fjj8","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/quinn-rs/quinn/commit/e01609ccd8738bd438d86fa7185a0f85598cb58f","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/quinn-rs/quinn/blob/bb02a12a8435a7732a1d762783eeacbb7e50418e/quinn-proto/src/endpoint.rs#L213","tags":["issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45311","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/quinn-rs/quinn","tags":["package","web"],"sources":["ghsa","rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0373.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/quinn-proto","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-09-03T14:01:33.229Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45311","url":"https://www.cve.org/CVERecord?id=CVE-2024-45311","licence":"CVE Terms of Use","modified":"2024-09-03T14:04:46.433Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vr26-jcq5-fjj8","url":"https://github.com/advisories/GHSA-vr26-jcq5-fjj8","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:18.985Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2024-0373","url":"https://rustsec.org/advisories/RUSTSEC-2024-0373.html","licence":"CC0-1.0","modified":"2024-09-08T02:12:03.879Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45311","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45311","licence":"Public domain","modified":"2026-06-17T07:54:00.150Z"}],"updatedAt":"2026-11-25T22:58:44.997Z","epss":{"score":0.00568,"percentile":0.48425,"date":"2026-12-01T12:00:22.000Z"}}