rustls
Affected
- introduced
0.21.0, fixed0.23.46(semver)
Fixed versions
0.23.46
Fix
- Fixed version
0.23.46cargo update -p rustls --precise 0.23.46
Advisory
Also known as: CVE-2026-123609, GHSA-c8m5-c952-6cm4
Debug impls for client session values expose TLS secrets
The Debug implementations of Tls12ClientSessionValue andTls13ClientSessionValue 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 withDebug (for example, when logging) could disclose these secrets to readers of
the logs. This conflicts with rustls's
key-material redaction policy.
Ordinary connection and built-in session cache Debug output is redacted and
is not affected.
Medium Basis: CVSS v3 score 4, vector CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
0.21.0, fixed 0.23.46 (semver)0.23.46
0.23.46cargo update -p rustls --precise 0.23.46Fix 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
Source: RustSec Advisory Database · CC0-1.0