bitcoindevkit / bitcoindevkit/bdk-cli
RUSTSEC-2026-0099: Name constraints were accepted for certificates asserting a wildcard name
- 主要语言
- Rust
- 星标
- 141
- 派生
- 99
- 平均合并
- 6 天 14 分钟
- 30 天内合并 PR
- 1
描述
| Details | |
| --- | --- |
| Package | `rustls-webpki` |
| Version | `0.101.7` |
| URL | n/a |
| Patched Versions | >=0.103.12, <0.104.0-alpha.1 OR >=0.104.0-alpha.6 |
| Aliases | [GHSA-xgp8-3hg3-c2mh](https://github.com/advisories/GHSA-xgp8-3hg3-c2mh) |
Permitted subtree name constraints for DNS names were accepted for certificates asserting a wildcard name.
This was incorrect because, given a name constraint of `accept.example.com`, `*.example.com` could feasibly allow a name of `reject.example.com` which is outside the constraint.
This is very similar to [CVE-2025-61727](https://go.dev/issue/76442).
Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.
This vulnerability is identified as [GHSA-xgp8-3hg3-c2mh](https://github.com/rustls/webpki/security/advisories/GHSA-xgp8-3hg3-c2mh). Thank you to [@1seal](https://github.com/1seal) for the report.
贡献指南
调研方向
该 issue 将 rustls-webpki 0.101.7 标记为存在漏洞,并列出了已修复的版本,但没有指出任何 repository 文件或测试。首先定位 bdk-cli 中声明此依赖项的位置,并确定是否可以采用已修复的版本;当该依赖项不再解析为存在漏洞的版本且现有检查通过时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- rust
- 领域
- cli, security
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100