CVE-2022-35255

CRITICAL9.1EPSS 1.2%
發布日:2022/12/5修改日:2025/12/3
也稱為:ALPINE-CVE-2022-35255

描述

A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with EntropySource() in SecretKeyGenTraits::DoKeyGen() in src/crypto/crypto_keygen.cc. There are two problems with this: 1) It does not check the return value, it assumes EntropySource() always succeeds, but it can (and sometimes will) fail. 2) The random data returned byEntropySource() may not be cryptographically strong and therefore not suitable as keying material.

受影響套件(4)

  • Alpine/nodejsfrom 0, < 16.17.1-r0
  • Bitnami/node>= 15.0.0, < 15.14.1, >= 16.0.0, < 16.12.1, >= 16.13.0, < 16.17.1, >= 18.0.0, < 18.9.1
  • Bitnami/node-min>= 15.0.0, < 15.14.1, >= 16.0.0, < 16.12.1, >= 16.13.0, < 16.17.1, >= 18.0.0, < 18.9.1
  • Debian/nodejsfrom 0, < 12.22.12~dfsg-1~deb11u3

CVSS 分數

來源版本嚴重程度向量
osvCVSS 3.1CRITICAL9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

參考連結(7)