# CVE-2024-28854: Slow loris vulnerability with default configuration in tls-listener

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-15T12:00:00.000Z
- Modified: 2026-10-12T18:00:02.661Z
- Also known as: GHSA-2qph-qpvm-2qf7, RUSTSEC-2024-0341
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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`.

(As written by CVE List.)

## Affected

- tmccombs tls-listener: < 0.10.0; before 0.10.0
- tls-listener (crates.io): before 0.10.0; from 0.0.0-0 before 0.10.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/tmccombs/tls-listener/security/advisories/GHSA-2qph-qpvm-2qf7> (exploit, mitigation, third-party-advisory, web)
- <https://github.com/tmccombs/tls-listener/commit/d5a7655d6ea9e53ab57c3013092c5576da964bc4> (patch, web)
- <https://en.wikipedia.org/wiki/Slowloris_(computer_security)> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28854> (advisory)
- <https://github.com/tmccombs/tls-listener> (package)
- <https://github.com/tmccombs/tls-listener/releases/tag/v0.10.0> (web)
- <https://rustsec.org/advisories/RUSTSEC-2024-0341.html> (advisory, web)
- <https://crates.io/crates/tls-listener> (package)

## Sources

- CVE List: [CVE-2024-28854](https://www.cve.org/CVERecord?id=CVE-2024-28854), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-2qph-qpvm-2qf7](https://github.com/advisories/GHSA-2qph-qpvm-2qf7), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2024-0341](https://rustsec.org/advisories/RUSTSEC-2024-0341.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2024-28854](https://nvd.nist.gov/vuln/detail/CVE-2024-28854), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-28854 · Whole record: https://cve.day/CVE-2024-28854.json · Rebuilt by cve.day 2026-11-25T22:58:37.598Z
