Vulnerability

CVE-2022-35255

criticalCVSS 3.1 9.1Published 5 Dec 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Debian debian linux
  • Node.js node.js
  • Siemens sinec ins

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning