CVE-2024-28854: tls-listener - Denial of Service
- Cve: CVE-2024-28854
- Name: tls-listener - Denial of Service
- 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`.
- Impact: Attackers can cause resource exhaustion leading to denial of service for publicly accessible services using tls-listener.
- Remediation: Upgrade to version 0.10.0 or later. Alternatively, pass a large value like usize::MAX to Builder::max_handshakes to mitigate.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00973
- Epss percentile: 0.62876
- Assignee: [email protected]
- Published at: 2024-03-15T19:15:07Z
- Age in days: 984
- Modified at: 2026-06-17T07:21:53Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-28854
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/tmccombs/tls-listener/security/advisories/GHSA-2qph-qpvm-2qf7 | nvd | 2024-03-15 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/tmccombs/tls-listener/commit/d5a7655d6ea9e53ab57c3013092c5576da964bc4 | Patch |
| https://github.com/tmccombs/tls-listener/security/advisories/GHSA-2qph-qpvm-2qf7 | Exploit, Mitigation, Third Party Advisory |
| https://en.wikipedia.org/wiki/Slowloris_(computer_security) | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tmccombs:tls-listener | < 0.10.0 | no | nvd | /v1/products/tmccombs/tls-listener |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| tmccombs/tls-listener | commit, package, releases, security_advisory | yes | /v1/repositories/tmccombs/tls-listener |
Index
- Repositories: 3
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-03-15
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts