Vulnerability DatabaseRUSTSEC-2024-0341

RUSTSEC-2024-0341
Rust vulnerability analysis and mitigation

Overview

A high-severity vulnerability (RUSTSEC-2024-0341) was discovered in the tls-listener Rust package, affecting version 0.9.1. The vulnerability was disclosed on March 15, 2024, and involves a slow loris Denial of Service (DoS) attack possibility when using the default configuration. The issue affects any publicly accessible service using the default configuration of tls-listener (GitHub Advisory).

Technical details

The vulnerability stems from the default configuration parameters in tls-listener, specifically the DEFAULT_MAX_HANDSHAKES set to 64 and DEFAULT_HANDSHAKE_TIMEOUT set to 10 seconds. With these settings, a malicious user can open approximately 6.4 TcpStreams per second while sending zero bytes, leading to a potential DoS condition. The vulnerability has been assigned a CVSS v3.1 score of 7.5 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating network attack vector, low complexity, no privileges required, and high impact on availability (GitHub Advisory).

Impact

The vulnerability enables successful slow-loris attacks against any publicly accessible service using the default configuration of tls-listener. When exploited, the attack can prevent new connections to the server, effectively causing a denial of service condition (GitHub Advisory).

Exploitability

A proof of concept exploit has been demonstrated using the HTTP TLS server example. The exploit involves creating multiple connections at a controlled rate, effectively exhausting the server's connection handling capacity (GitHub Advisory).

Mitigation and workarounds

For previous versions, the vulnerability can be mitigated by passing a large value, such as usize::MAX, as the parameter to Builder::max_handshakes. The issue has been patched in version 0.10.0 (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-53530HIGH8.7
  • Rust logoRust
  • ratex-parser
NoYesAug 21, 2026
CVE-2026-53531MEDIUM6.9
  • Rust logoRust
  • ratex-parser
NoYesAug 21, 2026
GHSA-mc9m-6fm9-pghcMEDIUM6.9
  • Python logoPython
  • zoo-kcl
NoYesAug 20, 2026
GHSA-jgvr-6x5w-hx5wMEDIUM6.9
  • Python logoPython
  • kcl-lib
NoYesAug 20, 2026
CVE-2026-54136MEDIUM5.1
  • Rust logoRust
  • windmill-api
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management