CVE-2022-35255Nodejs Node.js
Critical 9.1 No auth needed
Follow: this CVE · Nodejs · Nodejs Node.js We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Dec 5, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-338
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Node.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nodejs | node.js | ≥ 15.0.0 ≤ 15.14.0 |
| nodejs | node.js | ≥ 16.0.0 ≤ 16.12.0 |
| nodejs | node.js | ≥ 16.13.0 < 16.17.1 |
| nodejs | node.js | ≥ 18.0.0 < 18.9.1 |
| siemens | sinec_ins | < 1.0 |
| siemens | sinec_ins | 1.0 |
| siemens | sinec_ins | 1.0 |
| siemens | sinec_ins | 1.0 |
| debian | debian_linux | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- cert-portal.siemens.com Third Party Advisory
- hackerone.com Exploit Issue Tracking Third Party Advisory
- security.netapp.com Third Party Advisory
- www.debian.org Third Party Advisory