CVE-2024-28854:
tls-listener affected by the slow loris vulnerability with default configuration
7.5
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
3/15/2024
Updated
5/20/2024
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
tls-listener | rust | <= 0.9.1 | 0.10.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key functions: 1) TlsListener::new() uses dangerous default configuration constants (DEFAULT_MAX_HANDSHAKES=64) that create a limited pool of connection slots. 2) Builder::max_handshakes() enforces this limit without requiring connection progress, allowing attackers to hold slots open indefinitely. The combination lets attackers occupy all available slots with partial connections, blocking legitimate traffic. The patch replaced max_handshakes with accept_batch_size and changed acceptance logic to prevent this starvation.