VDB
Sign up
—

RUSTSEC-2024-0399

rustls network-reachable panic in `Acceptor::accept`

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/rustls
Introduced in: 0.23.0Fixed in: 0.23.0

Upgrade rustls to 0.23.0 or newer (ecosystem crates.io).

References