RUSTSEC-2026-0346: `Debug` impls for client session values expose TLS secrets
还没有人认领这个 Issue。
评估
调研方向
The vulnerable package is rustls 0.23.40, and the advisory says patched versions are >=0.23.46. Start by checking which crate pulls it in with cargo tree -i rustls, then update the lock with cargo update -p rustls (or edit the constraint in Cargo.toml if it is pinned). Done when Cargo.lock resolves to a patched rustls, cargo build and the test suite pass, and cargo audit no longer reports RUSTSEC-2026-0346.
由索引模型根据 Issue 内容生成。
描述
Debugimpls for client session values expose TLS secrets
| Details | |
|---|---|
| Package | rustls |
| Version | 0.23.40 |
| 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
- 星标
- 0
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stackabletech/postgresql-trino-gateway 的其他 Issue
-
RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authentication未关闭
难度 2/5 1-3 小时 新手友好度 60/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 42/100
-
难度 1/5 1 小时以内 新手友好度 10/100
查看 stackabletech/postgresql-trino-gateway 的全部 Issue
相似的 Issue
-
Small glitch未关闭priority: medium
难度 2/5 1-3 小时 新手友好度 66/100
storytold/photocraft#9538 ·
维护者通常 1 天内回复
-
bug P2 rust
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
jscott3201/rusty-bacnet#2085 ·
维护者通常 1 天内回复
-
area:tag area:tag---json---markdown--n bug factory:dogfood factory:triaged persona:scripter platform:linux-cloud priority:p3 type:bug
难度 2/5 1-3 小时 新手友好度 74/100
gitbutlerapp/grit#1940 · 1 条评论 ·
维护者通常 1 天内回复
-
Inconsistent case in names for Windows installation packages compared to all other assets可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area:ui bug in progress needs-triage
难度 1/5 1 小时以内 新手友好度 65/100
bherbruck/solvecraft#6769 · 2 条评论 ·