Loading advisory.
Loading advisory.
Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs
Formatting a client session value with Debug exposes its TLS 1.2 master secret or TLS 1.3 resumption PSK. A custom session store that logs these values can disclose keys to readers of the logs.
Published 2026-10-14 12:00 UTC · Modified 2026-11-10 17:56 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| rustls | crates.io | < 0.23.46 >= 0.24.0-dev.1, < 0.24.0-dev.2 >= 0.21.0, < 0.23.46 | 0.23.46, 0.24.0-dev.2 | cargo add rustls@0.23.46cargo add rustls@0.24.0-dev.2 |
Formatting a client session value with Debug exposes its TLS 1.2 master secret or TLS 1.3 resumption PSK. A custom session store that logs these values can disclose keys to readers of the logs. Ordinary connection and built-in cache diagnostics remain redacted, and the session-store interface already warns that its values are sensitive.
Derived formatters traverse the session's secret-bearing fields. This conflicts with the project's explicit key-material redaction policy.
Custom ClientSessionStore implementations could leak secret data by using the provided Tls12ClientSessionValue or Tls13ClientSessionValue in a way that triggers its implementation of the Debug trait.
Such store implementations could leak the master secret for the TLS connection.
Thanks to OpenAI OutboundDisclosures@openai.com for the disclosure.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.001 on 2026-11-24 to 0.001 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.001 | first score | v2026.06.15 |
| 2026-11-26 | 0.001 | 0.001 | v2026.06.15 |