Security mailing lists by PureSourceCode

CVE-2022-35255

CRITICAL 9.1CVSS 3.1

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.

Published
5 Dec 2022
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-338
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nodejs node.js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
>= 15.0.0, <= 15.14.0
NVD nodejs node.js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
>= 16.0.0, <= 16.12.0
NVD nodejs node.js
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
>= 16.13.0, < 16.17.1 16.17.1
NVD nodejs node.js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
>= 18.0.0, < 18.9.1 18.9.1
NVD siemens sinec_ins
cpe:2.3:a:siemens:sinec_ins:*:*:*:*:*:*:*:*
< 1.0 1.0
NVD siemens sinec_ins
cpe:2.3:a:siemens:sinec_ins:1.0:-:*:*:*:*:*:*
= 1.0
NVD siemens sinec_ins
cpe:2.3:a:siemens:sinec_ins:1.0:sp1:*:*:*:*:*:*
= 1.0
NVD siemens sinec_ins
cpe:2.3:a:siemens:sinec_ins:1.0:sp2:*:*:*:*:*:*
= 1.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 5 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.