RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authentication
还没有人认领这个 Issue。
评估
调研方向
The vulnerable crate is rustls 0.23.45, so start in Cargo.lock and the Cargo.toml that pulls it in. Run cargo tree -i rustls -e features to check whether the brotli feature is enabled anywhere in the graph. Then bump rustls to at least 0.23.46 with cargo update -p rustls and confirm with cargo audit. Done when the lockfile resolves to a patched version and the build and tests still pass.
由索引模型根据 Issue 内容生成。
描述
Brotli certificate decompression can allocate up to 1 GiB before authentication
| Details | |
|---|---|
| Package | rustls |
| Version | 0.23.45 |
| URL | https://github.com/rustls/rustls/pull/3297 |
| Date | 2026-10-14 |
| Patched versions | >=0.23.46 |
| Unaffected versions | <0.23.9 |
The built-in Brotli certificate decompressor (enabled by the non-default
brotli crate feature) bounded the size of the decompressed output, but
accepted a peer-selected history window. Brotli's large-window extension was
enabled, so a five-byte header could cause an allocation of 1 GiB. A peer can
abort a process whose allocator cannot satisfy that request.
No trusted certificate is required by the attacker. Affected configurations are:
- clients that enable the
brotlifeature and connect to a malicious server, and - servers that enable the
brotlifeature and request client certificates.
Applications that do not enable the brotli feature are not affected.
See advisory page for additional details.
- 主要语言
- Rust
- 星标
- 11
- 派生
- 5
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stackabletech/stackablectl 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
stackabletech/stackablectl#475 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
stackabletech/stackablectl#471 ·
-
难度 2/5 1-3 小时 新手友好度 60/100
stackabletech/stackablectl#468 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
stackabletech/stackablectl#456 ·
-
难度 1/5 1 小时以内 新手友好度 35/100
stackabletech/stackablectl#476 ·
查看 stackabletech/stackablectl 的全部 Issue
相似的 Issue
-
yara-x fails to build with rsa 0.10.0: unresolved import rsa::Pkcs1v15Sign可能已有人在做 @CfirTsabari 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 87/100
VirusTotal/yara-x#865 ·
维护者通常 1 天内回复
-
good first issue help wanted program
难度 2/5 1-3 小时 新手友好度 83/100
hffgzktbcc-blip/ounce-core#297 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
nautechsystems/nautilus_trader#5631 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
bytecodealliance/rustix#1736 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
longbridge/gpui-kit#3871 ·
维护者通常 1 天内回复