Denial of Service Vulnerability in rust-rustls Package - CVE-2024-11738

rust-rustls Updated 02 Oct 2025

Summary

06/12/2024
N/A
No i
Medium
5.3

UBUNTU-CVE-2024-11738: A flaw was found in Rustls 0.23.13 and related APIs. This vulnerability allows denial of service (panic) via a fragmented TLS ClientHello message. Affects rust-rustls versions 0.21.10-1 – 0.21.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The rust-rustls package provides a Rust implementation of the TLS protocol, enabling secure communication over the internet. It is widely used in applications that require encrypted connections. The package is known for its performance and security features, but it has been identified to have a vulnerability that could lead to denial of service under specific conditions.

Vulnerability Detail

A flaw was discovered in Rustls versions 0.23.13 and related APIs, which allows for denial of service (panic) when a fragmented TLS ClientHello message is processed. This vulnerability can be exploited by an attacker to disrupt service, leading to potential downtime for applications relying on this library. The issue stems from improper handling of fragmented messages, which can cause the application to panic and crash.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, consider implementing input validation to reject fragmented TLS ClientHello messages until the package can be updated. This can help mitigate the risk of denial of service attacks.

Conclusion

The rust-rustls package has a vulnerability (CVE-2024-11738) that can lead to denial of service through fragmented TLS ClientHello messages. It is crucial to update to the latest patched versions to mitigate this risk. Implementing workarounds can provide temporary relief until the update is applied.

See every vulnerability recorded for rust-rustls →

Share this vulnerability

FAQ

CVE-2024-11738 is a vulnerability in the rust-rustls package that allows denial of service through a fragmented TLS ClientHello message.

Versions 0.23.13 and earlier are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The CVSS score of this vulnerability is 5.3, indicating a medium severity level.

If immediate updates are not possible, implement input validation to reject fragmented TLS ClientHello messages as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for rust-rustls.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback