Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust-rustls: Infinite loop in rustls::conn::ConnectionCommon:complete_io() with proper client input #1510

Closed
hillwoodroc opened this issue Apr 22, 2024 · 0 comments · Fixed by #1513

Comments

@hillwoodroc
Copy link
Contributor

shadowsocks-rust embeds rust-rustls:

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-32650
https://bugzilla.redhat.com/show_bug.cgi?id=2276085
https://www.cve.org/CVERecord?id=CVE-2024-32650
rustls/rustls@2123576
rustls/rustls@6e938bc
rustls/rustls@f45664f
GHSA-6g7w-8wpp-frhj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant