{"id":"CVE-2024-28854","summary":"Slow loris vulnerability with default configuration in tls-listener","details":"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`.\n\n","aliases":["GHSA-2qph-qpvm-2qf7","RUSTSEC-2024-0341"],"modified":"2026-04-10T05:12:05.452833Z","published":"2024-03-15T18:54:58.524Z","related":["openSUSE-SU-2024:14009-1"],"database_specific":{"cwe_ids":["CWE-400"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28854.json"},"references":[{"type":"WEB","url":"https://en.wikipedia.org/wiki/Slowloris_(computer_security)"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28854.json"},{"type":"ADVISORY","url":"https://github.com/tmccombs/tls-listener/security/advisories/GHSA-2qph-qpvm-2qf7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28854"},{"type":"FIX","url":"https://github.com/tmccombs/tls-listener/commit/d5a7655d6ea9e53ab57c3013092c5576da964bc4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tmccombs/tls-listener","events":[{"introduced":"0"},{"fixed":"975d21340ab0b2b365cb573a3381dec1ab508daa"}]}],"versions":["v0.1","v0.1.1","v0.2.0","v0.2.1","v0.3.0","v0.4.0","v0.4.1","v0.4.2","v0.5.0","v0.5.1","v0.6.0","v0.7.0","v0.8.0","v0.9.0","v0.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28854.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}