graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

RUSTSEC-2024-0336: `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input

Open github-actions[bot] opened this issue 2 years ago • 2 comments

rustls::ConnectionCommon::complete_io could fall into an infinite loop based on network input

Details
Package rustls
Version 0.20.9
URL https://github.com/rustls/rustls/security/advisories/GHSA-6g7w-8wpp-frhj
Date 2024-04-19
Patched versions >=0.23.5,>=0.22.4, <0.23.0,>=0.21.11, <0.22.0

If a close_notify alert is received during a handshake, complete_io does not terminate.

Callers which do not call complete_io are not affected.

rustls-tokio and rustls-ffi do not call complete_io and are not affected.

rustls::Stream and rustls::StreamOwned types use complete_io and are affected.

See advisory page for additional details.

github-actions[bot] avatar May 29 '24 00:05 github-actions[bot]

Looks like this issue has been open for 6 months with no activity. Is it still relevant? If not, please remember to close it.

github-actions[bot] avatar Dec 08 '24 00:12 github-actions[bot]

We use rustls 0.23 which does not have this issue

lutter avatar Jan 30 '26 02:01 lutter