bitcoindevkit / bitcoindevkit/bdk-cli

RUSTSEC-2026-0099: Name constraints were accepted for certificates asserting a wildcard name

オープン
#285 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
141
フォーク
99
平均マージ
6日 14分
マージ済み PR(30日)
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 を脆弱なバージョンとして特定し、修正済みバージョンを列挙していますが、リポジトリのファイルやテストを指定していません。まず、bdk-cli でこの依存関係が宣言されている場所を特定し、修正済みバージョンを採用できるか判断してください。依存関係が脆弱なバージョンに解決されなくなり、既存のチェックに合格すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
cli, security
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。