Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rustls
  4. ›
  5. GHSA-qg5g-gv98-5ffh

GHSA-qg5g-gv98-5ffh: rustls network-reachable panic in `Acceptor::accept`

November 25, 2024

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.

References

  • github.com/advisories/GHSA-qg5g-gv98-5ffh
  • github.com/rustls/rustls
  • github.com/rustls/rustls/issues/2227
  • rustsec.org/advisories/RUSTSEC-2024-0399.html

Code Behaviors & Features

Detect and mitigate GHSA-qg5g-gv98-5ffh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.23.13 before 0.23.18

Fixed versions

  • 0.23.18

Solution

Upgrade to version 0.23.18 or above.

Source file

cargo/rustls/GHSA-qg5g-gv98-5ffh.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:05 +0000.