From cf41dad3767cfc68f4a8b6bbc8754d6329e07a25 Mon Sep 17 00:00:00 2001 From: Joe Birr-Pixton Date: Fri, 22 Nov 2024 18:57:52 +0000 Subject: [PATCH] Add rustls acceptor panic --- crates/rustls/RUSTSEC-0000-0000.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 crates/rustls/RUSTSEC-0000-0000.md diff --git a/crates/rustls/RUSTSEC-0000-0000.md b/crates/rustls/RUSTSEC-0000-0000.md new file mode 100644 index 000000000..368e9eb5d --- /dev/null +++ b/crates/rustls/RUSTSEC-0000-0000.md @@ -0,0 +1,24 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "rustls" +date = "2024-11-22" +url = "https://github.com/rustls/rustls/issues/2227" +categories = ["denial-of-service"] + +[versions] +patched = [">= 0.23.18"] +unaffected = [">= 0.23, < 0.23.13", "<= 0.22"] +``` + +# rustls network-reachable panic in `Acceptor::accept` + +A bug introduced in rustls 0.23.13 leads to a panic if the received +TLS ClientHello is fragmented. Only servers that use +`rustls::server::Acceptor::accept()` are affected. + +Servers that use `tokio-rustls`'s `LazyConfigAcceptor` API are affected. + +Servers that use `tokio-rustls`'s `TlsAcceptor` API are not affected. + +Servers that use `rustls-ffi`'s `rustls_acceptor_accept` API are affected.