Slow loris vulnerability with default configuration in tls-listener
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 TcpStreams 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
tls-listenercrates.io | < 0.10.0 | 0.10.0 |
Affected products
5- osv-coords4 versionspkg:apk/chainguard/sdp-identity-servicepkg:apk/wolfi/sdp-identity-servicepkg:cargo/tls-listenerpkg:rpm/opensuse/cargo-audit-advisory-db&distro=openSUSE%20Tumbleweed
< 1.3.8-r3+ 3 more
- (no CPE)range: < 1.3.8-r3
- (no CPE)range: < 1.3.8-r3
- (no CPE)range: < 0.10.0
- (no CPE)range: < 20240528-1.1
- Range: < 0.10.0
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- github.com/advisories/GHSA-2qph-qpvm-2qf7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-28854ghsaADVISORY
- en.wikipedia.org/wiki/Slowloris_(computer_security)ghsax_refsource_MISCWEB
- github.com/tmccombs/tls-listener/commit/d5a7655d6ea9e53ab57c3013092c5576da964bc4ghsax_refsource_MISCWEB
- github.com/tmccombs/tls-listener/releases/tag/v0.10.0ghsaWEB
- github.com/tmccombs/tls-listener/security/advisories/GHSA-2qph-qpvm-2qf7ghsax_refsource_CONFIRMWEB
- rustsec.org/advisories/RUSTSEC-2024-0341.htmlghsaWEB
News mentions
0No linked articles in our index yet.