脆弱性の一覧へ戻る
編集部の見出し:npm の create-ecdh 4.0.4 以下:相手の公開鍵を確かめず、使い回した秘密鍵を割り出されうる(ブラウザ向けのバンドル)
NVD の情報
create-ecdh is a browserifiable implementation of Node.js crypto.createECDH. In versions 4.0.4 and below, the JavaScript implementation (browser.js, used by browser bundlers and on Node.js versions without a working native crypto.createECDH) did not validate peer public keys in ECDH.prototype.computeSecret or ECDH.prototype.setPublicKey. The peer point was multiplied by the local private key without checking that it was on the configured curve or in its prime-order subgroup. An attacker who can submit public keys to a party that reuses a static private key can perform an invalid-curve or small-subgroup attack and recover the private key modulo small factors, eventually recovering the full key via the Chinese Remainder Theorem. For the ed25519 and curve25519 curves, low-order points were also accepted, which could force a predictable shared secret. On modern Node.js, create-ecdh re-exports the native implementation, which is not affected. This issue is fixed in version 4.0.5.
- 公開日
- 2026-11-14
- 最終更新(NVD)
- 2026-11-17
- NVD の状態
- Received
- 脆弱性の種類
- CWE-20
深刻度(CVSS)
- 8.2 HighCVSS 4.0/副/評価:7ffcee3d-2c14-4c3e-b844-86c6a321a158
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - 5.9 MediumCVSS 3.1/副/評価:7ffcee3d-2c14-4c3e-b844-86c6a321a158
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
EPSS:今後30日に悪用される推定確率 0.25%(全体の上位 84.0%、評価日 2026-11-18)
解消方法
- create-ecdh のバージョンアップ4.0.5 以降根拠:公告(編集部の転記)
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-14 のレポートnpm の create-ecdh 4.0.4 以下:相手の公開鍵を確かめず、使い回した秘密鍵を割り出されうる(ブラウザ向けのバンドル)
browser.js の computeSecret・setPublicKey が公開鍵を検証しない。固定の秘密鍵を使い回すと invalid-curve 攻撃で割り出されうる。最近の Node.js ではネイティブ実装が使われ影響なし。登録元 GitHub の CVSS 4.0 で 8.2(3.1 は 5.9)。
悪用状況(編集部):悪用の報告は確認されていない
公告に記載の修正版
- create-ecdh 4.0.5公告
参照(NVD)
NVD から取得:2026-11-18T20:40:24.653Z/EPSS 評価日:2026-11-18
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。