CVE-2024-45311CWE-670

Denial of service in quinn-proto when using `Endpoint::retry()`

High · published September 2, 2024

CVSS v3.1
7.5
EPSS
1%
Percentile
46.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00568 · 46.3th percentile
Weakness
CWE-670 · Always-Incorrect Control Flow Implementation
Published
2024-09-02T16:45Z
EPSS history
Timeline
  • 02 SEP 16:45Z
    Denial of service in quinn-proto when using `Endpoint::retry()`
    cvelistv5