Live threats

All CVEs / rustls

CVE-2024-32650rustls

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
Apr 19, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-835
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for rustls.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io rustls ≥ 0.23.0 < 0.23.5 0.23.5 cargo update -p rustls --precise 0.23.5
crates.io rustls ≥ 0.22.0 < 0.22.4 0.22.4 cargo update -p rustls --precise 0.22.4
crates.io rustls ≥ 0.21.0 < 0.21.11 0.21.11 cargo update -p rustls --precise 0.21.11
crates.io rustls 0.20 no fixed version —
crates.io rustls ≥ 0.0.0-0 < 0.21.11 0.21.11 cargo update -p rustls --precise 0.21.11
crates.io rustls ≥ 0.22.0 < 0.22.4 0.22.4 cargo update -p rustls --precise 0.22.4
crates.io rustls ≥ 0.23.0 < 0.23.5 0.23.5 cargo update -p rustls --precise 0.23.5

Per OSV / GitHub Advisories (GHSA-6g7w-8wpp-frhj, RUSTSEC-2024-0336). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.