CVE-2022-35255 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf | CVE | Third Party Advisory |
| https://hackerone.com/reports/1690000 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20230113-0002/ | CVE | Third Party Advisory |
| https://www.debian.org/security/2023/dsa-5326 | CVE | Third Party Advisory |
| https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf | [email protected] | Third Party Advisory |
| https://hackerone.com/reports/1690000 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20230113-0002/ | [email protected] | Third Party Advisory |
| https://www.debian.org/security/2023/dsa-5326 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | [email protected] |
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nodejs node.js | >= 15.0.0, <= 15.14.0 >= 16.0.0, <= 16.12.0 >= 16.13.0, < 16.17.1 >= 18.0.0, < 18.9.1 |
CPE
Remediation
| |
| siemens sinec ins | < 1.0 1.0 - 1.0 sp1 1.0 sp2 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 24, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 1, 2023 | Modified Analysis | [email protected] |
| Jan 26, 2023 | CVE Modified | [email protected] |
| Jan 13, 2023 | CVE Modified | [email protected] |
| Jan 10, 2023 | CVE Modified | [email protected] |
| Dec 8, 2022 | Initial Analysis | [email protected] |