Bug 2276085 (CVE-2024-32650) - CVE-2024-32650 rust-rustls: Infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client input
Summary: CVE-2024-32650 rust-rustls: Infinite loop in rustls::conn::ConnectionCommon::...
Keywords:
Status: NEW
Alias: CVE-2024-32650
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2276086
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-19 16:51 UTC by Robb Gatica
Modified: 2024-04-19 16:52 UTC (History)
0 users

Fixed In Version: rustls 0.23.5, rustls 0.22.4, rustls 0.21.11
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-04-19 16:51:56 UTC
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.

https://github.com/rustls/rustls/commit/2123576840aa31043a31b0770e6572136fbe0c2d
https://github.com/rustls/rustls/commit/6e938bcfe82a9da7a2e1cbf10b928c7eca26426e
https://github.com/rustls/rustls/commit/f45664fbded03d833dffd806503d3c8becd1b71e
https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj

Comment 1 Robb Gatica 2024-04-19 16:52:07 UTC
Created rust-rustls tracking bugs for this issue:

Affects: fedora-all [bug 2276086]


Note You need to log in before you can comment on or make changes to this bug.