CVE-2022-35255

CVSS V2 None CVSS V3 None
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.
Overview
  • CVE ID
  • CVE-2022-35255
  • Assigner
  • support@hackerone.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-12-05T22:15:10
  • Last Modified Date
  • 2023-03-01T15:03:19
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* 1 OR 15.0.0 15.14.0
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* 1 OR 16.0.0 16.12.0
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* 1 OR 16.13.0 16.17.1
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* 1 OR 18.0.0 18.9.1
History
Created Old Value New Value Data Type Notes
2022-12-07 18:06:38 Added to TrackCVE
2022-12-08 17:15:26 2022-12-05T22:15:10.513 2022-12-05T22:15:10 CVE Published Date updated
2022-12-08 17:15:26 2022-12-08T15:58:51 CVE Modified Date updated
2022-12-08 17:15:26 Undergoing Analysis Analyzed Vulnerability Status updated
2022-12-08 17:15:27 CWE-338 Weakness Enumeration new
2022-12-08 17:15:28 CPE Information updated
2023-01-10 13:18:00 2023-01-10T13:15:15 CVE Modified Date updated
2023-01-10 13:18:00 Analyzed Modified Vulnerability Status updated
2023-01-10 13:18:01 References updated
2023-01-12 05:15:22 Modified Undergoing Analysis Vulnerability Status updated
2023-01-13 09:16:31 2023-01-13T09:15:09 CVE Modified Date updated
2023-01-13 09:16:33 References updated
2023-01-26 22:16:25 2023-01-26T21:15:44 CVE Modified Date updated
2023-01-26 22:16:25 References updated
2023-03-01 15:14:26 2023-03-01T15:03:19 CVE Modified Date updated
2023-03-01 15:14:26 Undergoing Analysis Analyzed Vulnerability Status updated