CVE-2024-28854Tmccombs Tls-listener
High 7.5 No auth needed
Follow: this CVE · Tmccombs · Tmccombs Tls-listener We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Mar 15, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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`.
What to do
- Apply the vendor's security update for Tls-listener.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | tls-listener |
< 0.10.0 |
0.10.0 |
cargo update -p tls-listener --precise 0.10.0 |
| crates.io | tls-listener |
≥ 0.0.0-0 < 0.10.0 |
0.10.0 |
cargo update -p tls-listener --precise 0.10.0 |
Per OSV / GitHub Advisories (GHSA-2qph-qpvm-2qf7, RUSTSEC-2024-0341). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tmccombs | tls-listener | < 0.10.0 |
Official sources
References
Links published by the sources. Open them with care.
- en.wikipedia.org Product
- github.com Patch
- github.com Exploit Mitigation Third Party Advisory