{"id":"CVE-2024-32650","published":"2024-04-19T16:05:44Z","modified":"2024-08-02T02:13:40Z","title":"Rustls vulnerable to an infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client input","vendor":"rustls","product":"rustls","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00949,"percentile":0.62066,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d","tags":["x_refsource_MISC"]},{"url":"https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e1cbf10b928c7eca26426e","tags":["x_refsource_MISC"]},{"url":"https://github.com/rustls/rustls/commit/f45664fbded03d833dffd806503d3c8becd1b71e","tags":["x_refsource_MISC"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":12.41},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"rustls","affectedVersions":[{"vendor":"rustls","product":"rustls","versions":[">= 0.23.0, < 0.23.5",">= 0.22.0, < 0.22.4",">= 0.21.0, < 0.21.11","= 0.20.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-04-22T15:34:25.994212Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"rustls","vulnerableRanges":[">=0.23.0, <0.23.5",">=0.22.0, <0.22.4",">=0.21.0, <0.21.11",">=0.0.0-0, <0.21.11"],"patched":["0.23.5","0.22.4","0.21.11"],"from":["GHSA-6g7w-8wpp-frhj","RUSTSEC-2024-0336"],"provenance":"source"}],"summary":{"text":"Rustls, the Rust TLS library, has a flaw in its ConnectionCommon::complete_io() function, which can fall into an infinite loop when processing network input. An attacker who can reach a blocking rustls server over the network, without authentication or user interaction, can trigger the loop by sending a close_notify message immediately after client_hello, causing the server's complete_io to hang.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:23Z"},"euvd":{"id":"EUVD-2024-1125","exploited":false,"provenance":"source"}}