RUSTSEC-2026-0346: `Debug` impls for client session values expose TLS secrets

未關閉
#469 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
40/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
rust
領域
security

研究方向

The payload names only the dependency rustls at 0.23.45, with a patched version of 0.23.46 or later, and gives no in-repo files. Start by checking whether the lockfile pulls in rustls 0.23.45 and whether any code in this repo implements ClientSessionStore or logs session values with Debug. Done means rustls resolves to 0.23.46 or later, the project builds and its tests pass, and the maintainers agree the advisory is addressed.

由索引模型根據 Issue 內容生成。

描述

Debug impls for client session values expose TLS secrets

Details
Package rustls
Version 0.23.45
URL https://github.com/rustls/rustls/pull/3299
Date 2026-10-14
Patched versions >=0.23.46
Unaffected versions <0.21.0

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.

Ordinary connection and built-in session cache Debug output is redacted and
is not affected.

See advisory page for additional details.

主要語言
Rust
星號
11
分支
5
平均合併
1 天 6 小時
30 天內合併 PR
1

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

stackabletech/stackablectl 的其他 Issue

查看 stackabletech/stackablectl 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。