Live threats

All CVEs / Nodejs

CVE-2022-35255Nodejs Node.js

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Dec 5, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-338
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nodejsnode.js≥ 15.0.0 ≤ 15.14.0
nodejsnode.js≥ 16.0.0 ≤ 16.12.0
nodejsnode.js≥ 16.13.0 < 16.17.1
nodejsnode.js≥ 18.0.0 < 18.9.1
siemenssinec_ins< 1.0
siemenssinec_ins1.0
siemenssinec_ins1.0
siemenssinec_ins1.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.