Sgbettのbsv-wallet等の複数製品におけるデジタル署名の検証に関する脆弱性
| Title |
Sgbettのbsv-wallet等の複数製品におけるデジタル署名の検証に関する脆弱性
|
| Summary |
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に対して後に本物であるかのように見せかけることが可能になります。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 9, 2026, midnight |
| Registration Date |
April 27, 2026, 11:17 a.m. |
| Last Update |
April 27, 2026, 11:17 a.m. |
|
CVSS3.0 : 重要
|
| Score |
8.1
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected System
| Sgbett |
|
BSV Ruby SDK (bsv-sdk) 0.3.1 以上 0.8.2 未満
|
|
bsv-wallet 0.1.2 以上 0.3.4 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月27日] 掲載 |
April 27, 2026, 11:17 a.m. |
NVD Vulnerability Information
CVE-2026-40070
| Summary |
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.
|
| Publication Date |
April 10, 2026, 3:17 a.m. |
| Registration Date |
April 15, 2026, 11:34 a.m. |
| Last Update |
April 25, 2026, 2:03 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| 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 |
Related information, measures and tools
Common Vulnerabilities List