CVE-2022-35255
CVSS v3
9.1
CRITICAL
EPSS Score
2.1 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for node.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- nodeBitnamifrom 15.0.0 · fixed in 15.14.1and 1 other package
- nodejsAlmaLinux:9all versions · fixed in 1:16.17.1-1.el9_0and 3 other packages
- nodejsAlmaLinux:8all versions · fixed in 1:18.9.1-1.module_el8.7.0+3343+ea2b7901and 3 other packages
- nodejs-nodemonAlmaLinux:8all versions · fixed in 2.0.19-1.module_el8.7.0+3343+ea2b7901
- nodejs-packagingAlmaLinux:8all versions · fixed in 2021.06-4.module_el8.7.0+3343+ea2b7901and 1 other package
- npmAlmaLinux:9all versions · fixed in 1:8.15.0-1.16.17.1.1.el9_0
- npmAlmaLinux:8all versions · fixed in 1:8.19.1-1.18.9.1.1.module_el8.7.0+3343+ea2b7901
Vendor advisories
nodejs: weak randomness in WebCrypto keygen
Siemens SINEC INS
SINEC INS
SSA-332410: Multiple Vulnerabilities in SINEC INS before V1.0 SP2 Update 1
SINEC INS
Red Hat Security Advisory: nodejs:18 security update
Red Hat Security Advisory: nodejs security update
Red Hat Security Advisory: nodejs:16 security update
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.
Technical details
- Published
- 2022-12-05
Frequently asked questions
What is CVE-2022-35255?
Is CVE-2022-35255 actively exploited?
What is the CVSS score for CVE-2022-35255?
Running node? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.