cvelo
P3 · MediumCVSS 4.0EPSS 0.1%

`Debug` impls for client session values expose TLS secrets

  • CVE-2026-123609
  • GHSA-c8m5-c952-6cm4
  • RUSTSEC-2026-0346

Description

The `Debug` implementations of `Tls12ClientSessionValue` and `Tls13ClientSessionValue` were derived, and so included the TLS 1.2 master secret or TLS 1.3 resumption PSK in their output. Custom `ClientSessionStore` implementations that format these values with `Debug` (for example, when logging) could disclose these secrets to readers of the logs. This conflicts with rustls's [key-material redaction policy](https://github.com/rustls/rustls/blob/99f2358cae2954837dbb866faf6727de75489ab9/SECURITY.md#boundary-public-api). Ordinary connection and built-in session cache `Debug` output is redacted and is not affected.

Text from the OSV record.

Affected

  • rustlscrates.io

    • all versions, fixed in 0.23.46
    • from 0.24.0-dev.1, fixed in 0.24.0-dev.2

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.