CVE-2024-28854

Slow loris vulnerability with default configuration in tls-listener

Published Mar 15, 2024 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
tls-listener is a rust lang wrapper around a connection listener to support TLS. With the default configuration of tls-listener, a malicious user can open 6.4 `TcpStream`s a second, sending 0 bytes, and can trigger a DoS. The default configuration options make any public service using `TlsListener::new()` vulnerable to a slow-loris DoS attack. This impacts any publicly accessible service using the default configuration of tls-listener in versions prior to 0.10.0. Users are advised to upgrade. Users unable to upgrade may mitigate this by passing a large value, such as `usize::MAX` as the parameter to `Builder::max_handshakes`.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0790 tls-listener affected by the slow loris vulnerability with default configuration
Github GHSA Github GHSA GHSA-2qph-qpvm-2qf7 tls-listener affected by the slow loris vulnerability with default configuration
History
Type Values Removed Values Added
CPEs cpe:2.3:a:tmccombs:tls-listener:*:*:*:*:*:rust:*:*
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 12:56 AM
Reserved
Mar 11, 2024, 10:45 PM
Status
Analyzed
Published
Mar 15, 2024, 7:15 PM
Modified
Jun 17, 2026, 7:21 AM