{"id":"CVE-2024-32650","state":"PUBLISHED","title":"Rustls vulnerable to an infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client input","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.","publishedAt":"2024-04-19T16:05:44.050Z","updatedAt":"2024-08-02T02:13:40.195Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["rustls rustls"],"affected":[{"vendor":"rustls","product":"rustls","versions":[{"version":">= 0.23.0, < 0.23.5","status":"affected"},{"version":">= 0.22.0, < 0.22.4","status":"affected"},{"version":">= 0.21.0, < 0.21.11","status":"affected"},{"version":"= 0.20.0","status":"affected"}]}],"references":["https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj","https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d","https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e1cbf10b928c7eca26426e","https://github.com/rustls/rustls/commit/f45664fbded03d833dffd806503d3c8becd1b71e"],"weaknesses":["CWE-835"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/32xxx/CVE-2024-32650.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-32650","state":"PUBLISHED","datePublished":"2024-04-19T16:05:44.050Z","dateUpdated":"2024-08-02T02:13:40.195Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-04-16T14:15:26.876Z"},"containers":{"cna":{"title":"Rustls vulnerable to an infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client input","descriptions":[{"lang":"en","value":"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":[{"vendor":"rustls","product":"rustls","versions":[{"version":">= 0.23.0, < 0.23.5","status":"affected"},{"version":">= 0.22.0, < 0.22.4","status":"affected"},{"version":">= 0.21.0, < 0.21.11","status":"affected"},{"version":"= 0.20.0","status":"affected"}]}],"references":[{"url":"https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj","name":"https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d","name":"https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d","tags":["x_refsource_MISC"]},{"url":"https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e1cbf10b928c7eca26426e","name":"https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e1cbf10b928c7eca26426e","tags":["x_refsource_MISC"]},{"url":"https://github.com/rustls/rustls/commit/f45664fbded03d833dffd806503d3c8becd1b71e","name":"https://github.com/rustls/rustls/commit/f45664fbded03d833dffd806503d3c8becd1b71e","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-835","lang":"en","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-04-19T19:47:45.579Z"},"source":{"advisory":"GHSA-6g7w-8wpp-frhj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"rustls_project","product":"rustls","defaultStatus":"unknown","versions":[{"version":"0.21.11","status":"unknown"}],"cpes":["cpe:2.3:a:rustls_project:rustls:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-32650","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-04-22T15:34:25.994212Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:49:50.274Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj","name":"https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d","name":"https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e1cbf10b928c7eca26426e","name":"https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e1cbf10b928c7eca26426e","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/rustls/rustls/commit/f45664fbded03d833dffd806503d3c8becd1b71e","name":"https://github.com/rustls/rustls/commit/f45664fbded03d833dffd806503d3c8becd1b71e","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T02:13:40.195Z"}}]}}}