Vulnerability · Published Apr 19, 2024 · Assigned by GitHub_M

CVE-2024-32650Rustls vulnerable to an infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client input

High 7.5

In plain English

A high-severity infinite loop in rustls from rustls. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.9%top 38.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Rustls is a modern TLS library written in Rust. `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input. When using a blocking rustls server, if a client send a `close_notify` message immediately after `client_hello`, the server's `complete_io` will get in an infinite loop. This vulnerability is fixed in 0.23.5, 0.22.4, and 0.21.11.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rust-rustlsno fix listedDEBIAN-CVE-2024-32650
Debian:13rust-rustls0.21.12-1DEBIAN-CVE-2024-32650
Debian:14rust-rustls0.21.12-1DEBIAN-CVE-2024-32650
Ubuntu:24.04:LTSrust-rustlsno fix listedUBUNTU-CVE-2024-32650
Ubuntu:25.10rust-rustlsno fix listedUBUNTU-CVE-2024-32650
Ubuntu:26.04:LTSrust-rustlsno fix listedUBUNTU-CVE-2024-32650
Ubuntu:26.10rust-rustlsno fix listedUBUNTU-CVE-2024-32650

Affected products (as reported)

VendorProductVersions
rustls rustls >= 0.23.0, < 0.23.5>= 0.22.0, < 0.22.4>= 0.21.0, < 0.21.11= 0.20.0

Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References