Advisory record · GHSA-6g7w-8wpp-frhj

`rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input

CVSS 7.5 HighEPSS 0.0095 · 61st percentile

Published by the maintainers · not yet reviewed by GitHub. The rustls/rustls maintainers published this as a GitHub repository advisory; GitHub’s reviewed advisory replaces it here when it arrives.

Published by the rustls/rustls maintainers at 19 Apr 2024, 12:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
rustlscrates.io>=0.0.0-0, <0.21.11 || >=0.22.0, <0.22.4 || >=0.23.0, <0.23.50.21.11, 0.22.4, 0.23.5
Identifiers
GHSA-6g7w-8wpp-frhj · CVE-2024-32650 · RUSTSEC-2024-0336
Weakness (CWE)
CWE-835
Published
19 Apr 2024
Updated
12 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The rustls crate is vulnerable in versions before 0.21.11, from 0.22.0 before 0.22.4, and from 0.23.0 before 0.23.5. If a close_notify alert is received during a handshake, the complete_io function does not terminate, so an attacker on the network can cause an infinite loop. Upgrade to 0.21.11, 0.22.4, 0.23.5 or later. Code that does not call complete_io, including rustls-tokio and rustls-ffi, is not affected, but rustls::Stream and rustls::StreamOwned are.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0095, the 61st percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 19 Apr 2024, 15:23 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:24 UTC First seen by agentprime
  3. 31 Oct 2026, 14:24 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.