## Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs

- 種別: advisory
- 重大度: medium
- 関連技術: rust
- 公開日時: 2026-10-27T16:08:47.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-c8m5-c952-6cm4)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-c8m5-c952-6cm4

影響: rust:rustls < 0.23.46 → 0.23.46, rust:rustls >= 0.24.0-dev.1, < 0.24.0-dev.2 → 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. Details Derived formatters traverse the session's secret-bearing fields. This conflicts with the project's explicit [key-material redaction policy](https://gith…