{"id":"CVE-2024-28854","published":"2024-03-15T18:54:58Z","modified":"2024-08-02T00:56:58Z","title":"Slow loris vulnerability with default configuration in tls-listener","vendor":"tmccombs","product":"tls-listener","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01188,"percentile":0.67759,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/tmccombs/tls-listener/security/advisories/GHSA-2qph-qpvm-2qf7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tmccombs/tls-listener/commit/d5a7655d6ea9e53ab57c3013092c5576da964bc4","tags":["x_refsource_MISC"]},{"url":"https://en.wikipedia.org/wiki/Slowloris_(computer_security)","tags":["x_refsource_MISC"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":13.55},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"tmccombs","affectedVersions":[{"vendor":"tmccombs","product":"tls-listener","versions":["< 0.10.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-07-23T17:56:15.552541Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"tls-listener","vulnerableRanges":["<0.10.0",">=0.0.0-0, <0.10.0"],"patched":["0.10.0"],"from":["GHSA-2qph-qpvm-2qf7","RUSTSEC-2024-0341"],"provenance":"source"}],"summary":{"text":"The tls-listener Rust crate, a wrapper that adds TLS support around a connection listener, has a slow-loris denial-of-service flaw in its default configuration, and the flaw affects any publicly accessible service that uses TlsListener::new() with those defaults in versions before 0.10.0. An attacker with only network reachability to the service, requiring no authentication, no user interaction, and no non-default configuration, can open many TCP connections while sending no data, exhausting the listener's resources and making the service unavailable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:47Z"},"euvd":{"id":"EUVD-2024-0790","exploited":false,"provenance":"source"}}