| タイトル | Sgbettのbsv-wallet等の複数製品におけるデジタル署名の検証に関する脆弱性 |
|---|---|
| 概要 | BSV Ruby SDKはBSVブロックチェーン用のRuby SDKです。バージョン0.3.1から0.8.2未満の間、BSV::Wallet::WalletClient#acquire_certificateは認証局の署名を検証せずに証明書レコードをストレージに保存します。acquisition_protocolが'direct'の場合、呼び出し元は全ての証明書フィールド(signatureを含む)を提供し、そのままストレージに保存します。acquisition_protocolが'issuance'の場合、クライアントは認証局のURLにPOSTし、応答本文に含まれる署名を検証せずに書き込みます。これにより、攻撃者はどちらかのAPIに到達可能であり、または発行パスでターゲットとなる認証局のエンドポイントを制御している場合、認証書を偽造でき、list_certificatesおよびprove_certificateに対して後に本物であるかのように見せかけることが可能になります。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年4月9日0:00 |
| 登録日 | 2026年4月27日11:17 |
| 最終更新日 | 2026年4月27日11:17 |
| CVSS3.0 : 重要 | |
| スコア | 8.1 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Sgbett |
| BSV Ruby SDK (bsv-sdk) 0.3.1 以上 0.8.2 未満 |
| bsv-wallet 0.1.2 以上 0.3.4 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年04月27日] 掲載 |
2026年4月27日11:17 |
| 概要 | BSV Ruby SDK is the Ruby SDK for the BSV blockchain. From 0.3.1 to before 0.8.2, BSV::Wallet::WalletClient#acquire_certificate persists certificate records to storage without verifying the certifier's signature over the certificate contents. In acquisition_protocol: 'direct', the caller supplies all certificate fields (including signature:) and the record is written to storage verbatim. In acquisition_protocol: 'issuance', the client POSTs to a certifier URL and writes whatever signature the response body contains, also without verification. An attacker who can reach either API (or who controls a certifier endpoint targeted by the issuance path) can forge identity certificates that subsequently appear authentic to list_certificates and prove_certificate. |
|---|---|
| 公表日 | 2026年4月10日3:17 |
| 登録日 | 2026年4月15日11:34 |
| 最終更新日 | 2026年4月25日2:03 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:sgbett:bsv-wallet:*:*:*:*:*:ruby:*:* | 0.1.2 | 0.3.4 | |||
| cpe:2.3:a:sgbett:bsv_ruby_sdk:*:*:*:*:*:ruby:*:* | 0.3.1 | 0.8.2 | |||