Advisory

RUSTSEC-2024-0399

Also known as: CVE-2024-11738, GHSA-qg5g-gv98-5ffh

Summary

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.

Severity

Not rated by the source.

Dates

Published
2024-11-22 12:00 UTC
Modified
2025-10-28 06:28 UTC

Affected packages and fixes

rustls

crates.io · All systems

Affected

  • introduced 0.23.0, fixed 0.23.0, introduced 0.23.13, fixed 0.23.18 (semver)

Fixed versions

0.23.0, 0.23.18

Fix

  • Fixed version 0.23.0
    cargo update -p rustls --precise 0.23.0
  • Fixed version 0.23.18
    cargo update -p rustls --precise 0.23.18

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences