{"schema_version":"1.9.0","id":"RUSTSEC-2024-0336","published":"2024-04-19T12:00:00Z","modified":"2026-10-12T18:00:07.054681492Z","aliases":["CVE-2024-32650","GHSA-6g7w-8wpp-frhj"],"summary":"`rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input","details":"If a `close_notify` alert is received during a handshake, `complete_io`\ndoes not terminate.\n\nCallers which do not call `complete_io` are not affected.\n\n`rustls-tokio` and `rustls-ffi` do not call `complete_io`\nand are not affected.\n\n`rustls::Stream` and `rustls::StreamOwned` types use\n`complete_io` and are affected.","affected":[{"package":{"name":"rustls","ecosystem":"crates.io","purl":"pkg:cargo/rustls"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.21.11"},{"introduced":"0.22.0"},{"fixed":"0.22.4"},{"introduced":"0.23.0"},{"fixed":"0.23.5"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":["rustls::ConnectionCommon::complete_io"],"os":[]}},"database_specific":{"categories":["denial-of-service"],"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0336.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/rustls"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2024-0336.html"},{"type":"WEB","url":"https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d"}],"database_specific":{"license":"CC0-1.0"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}