CVE-2022-35255

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability82. percentile2.1%
ProductNodejs Node.js
PublishedDec 5, 2022
First seenDec 5, 2022
Weakness typeCWE-338CWE-338

How to fix

Update
  • nodejs node.js16.17.1, 18.9.1 or later
  • siemens sinec_ins1.0 or later

Affected products

ProductAffected versionsFixed in
nodejs node.js15.0.0 ≤ v ≤ 15.14.0, 16.0.0 ≤ v ≤ 16.12.0, 16.13.0 ≤ v < 16.17.1, 18.0.0 ≤ v < 18.9.116.17.1, 18.9.1
siemens sinec_insv < 1.0, 1.01.0
debian debian_linux11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-35255 · Nodejs Node.js · Dark Radar