{"id":"RUSTSEC-2024-0341","summary":"Slow loris vulnerability with default configuration","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`.","aliases":["CVE-2024-28854","GHSA-2qph-qpvm-2qf7"],"modified":"2024-05-21T02:12:32Z","published":"2024-03-15T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/tls-listener"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2024-0341.html"},{"type":"ADVISORY","url":"https://github.com/tmccombs/tls-listener/security/advisories/GHSA-2qph-qpvm-2qf7"}],"affected":[{"package":{"name":"tls-listener","ecosystem":"crates.io","purl":"pkg:cargo/tls-listener"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.10.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"os":[],"functions":["tls_listener::TlsListener::new"]}},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0341.json","informational":null,"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","categories":["denial-of-service"]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}