GHSA-w3g8-fp6j-wvqw · 深刻度: high · エコシステム: rust — SM2-PKE has 32-bit Biased Nonce Vulnerability
RustCrypto: Elliptic Curves is general purpose Elliptic Curve Cryptography (ECC) support, including types and traits for representing various elliptic curve forms, scalars, points, and public/secret keys composed thereof. In versions 0.14.0-pre.0 and 0.14.0-rc.0, a critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce k is generated with severely reduced entropy. A unit mismatch error causes the nonce generation function to request only 32 bits of randomness instead of the expected 256 bits. This reduces the security of the encryption from a 128-bit level to a trivial 16-bit level, allowing a practical attack to recover the nonce k and decrypt any ciphertext given only the public key and ciphertext. This issue has been patched via commit e4f7778.
総合評価: CVE-2026-22698 は公開エクスプロイトあり(53.1/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.03%、9 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-07 | 0.05% | 0.03% | -0.02% |
| 2 | 2026-05-12 | 0.03% | 0.05% | +0.02% |
| 3 | 2026-01-10 | — | 0.03% | — |
EPSS の全履歴 (全 3 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.7 | 4.0 | HIGH |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-w3g8-fp6j-wvqw · 深刻度: high · エコシステム: rust — SM2-PKE has 32-bit Biased Nonce Vulnerability
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| rustcrypto | sm2_elliptic_curve | 0.14.0 | cpe:2.3:a:rustcrypto:sm2_elliptic_curve:0.14.0:pre0:*:*:*:rust:*:* |
| rustcrypto | sm2_elliptic_curve | 0.14.0 | cpe:2.3:a:rustcrypto:sm2_elliptic_curve:0.14.0:rc0:*:*:*:rust:*:* |
| URL | タグ |
|---|---|
| https://crates.io/crates/sm2/0.14.0-pre.0 | Release Notes |
| https://crates.io/crates/sm2/0.14.0-rc.0 | Release Notes |
| https://github.com/RustCrypto/elliptic-curves/commit/4781762f23ff22ab34763410f648128055c93731 | Patch |
| https://github.com/RustCrypto/elliptic-curves/commit/e4f77788130d065d760e57fb109370827110a525 | Patch |
| https://github.com/RustCrypto/elliptic-curves/pull/1600 | Issue Tracking Patch |
| https://github.com/RustCrypto/elliptic-curves/security/advisories/GHSA-w3g8-fp6j-wvqw | Exploit Mitigation Vendor Advisory |