VDB
Sign up
HIGH7.5

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

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:cargo/rustls"]}'