Vulnerability · Published Apr 19, 2024 · Assigned by GitHub_M
CVE-2024-32650Rustls vulnerable to an infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client input
High 7.5
In plain English
A high-severity infinite loop in rustls from rustls. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rust-rustls | no fix listed | DEBIAN-CVE-2024-32650 |
| Debian:13 | rust-rustls | 0.21.12-1 | DEBIAN-CVE-2024-32650 |
| Debian:14 | rust-rustls | 0.21.12-1 | DEBIAN-CVE-2024-32650 |
| Ubuntu:24.04:LTS | rust-rustls | no fix listed | UBUNTU-CVE-2024-32650 |
| Ubuntu:25.10 | rust-rustls | no fix listed | UBUNTU-CVE-2024-32650 |
| Ubuntu:26.04:LTS | rust-rustls | no fix listed | UBUNTU-CVE-2024-32650 |
| Ubuntu:26.10 | rust-rustls | no fix listed | UBUNTU-CVE-2024-32650 |
Affected products (as reported)
Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj x_refsource_CONFIRM
- https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d x_refsource_MISC
- https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e1cbf10b928c7eca26426e x_refsource_MISC
- https://github.com/rustls/rustls/commit/f45664fbded03d833dffd806503d3c8becd1b71e x_refsource_MISC