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.
{
"cwe_ids": [
"CWE-835"
]
}{
"versions": [
{
"introduced": "0.23.0"
},
{
"fixed": "0.23.5"
}
]
}{
"versions": [
{
"introduced": "0.22.0"
},
{
"fixed": "0.22.4"
}
]
}