secp256k1-native has a compiler-induced timing side channel in scalar multiplication
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| rubygems:secp256k1-native | < 0.18.0 | 0.18.0 |
Point#mul — the default, constant-time scalar multiplication and the library's headline secret-scalar operation — could leak timing information about the secret scalar (a private key or ECDSA-style nonce in a downstream consumer) not because of a source-level bug, but because the compiler reconstructed a branch from branchless source. The Montgomery ladder selects between point candidates with uint256_select, written deliberately branchlessly as r = (a & ~mask) | (b & mask) with a mask that is…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/11/24 05:59、GitHub Advisory Databaseが「secp256k1-native has a compiler-induced timing side channel in scalar multiplication」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: Ruby。CVE: CVE-2026-63410。