← Back

CVE-2022-35255

nvd nist
Published: Dec 5, 2022Modified: Jun 17, 2026

JSON object

Loading...
9.1
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Exploitability: 3.9 / Impact: 5.2
Source: NVD

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 (9)

1 product
Node.js
1 product
Sinec Ins
1 product
Debian Linux
Configuration A
4 vulnerable
Vulnerable SoftwareAffected Versions
Nodejs
From 15.0.0 to 15.14.0
From 16.0.0 to 16.12.0
From 18.0.0 to 18.9.1
From 16.13.0 to 16.17.1
Configuration B
4 vulnerable
Vulnerable SoftwareAffected Versions
Siemens
Before 1.0
Version 1.0
Version 1.0 sp1
Version 1.0 sp2
Configuration C
1 vulnerable
Vulnerable SoftwareAffected Versions
Version 11.0

References (8)

Source: support@hackerone.com
Third Party Advisory
Source: support@hackerone.com
ExploitIssue TrackingThird Party Advisory
Source: support@hackerone.com
Third Party Advisory
Source: support@hackerone.com
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
ExploitIssue TrackingThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

Timeline

No history available yet.