CVE-2022-35255
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.
How to fix
- nodejs node.js16.17.1, 18.9.1 or later
- siemens sinec_ins1.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node.js | 15.0.0 ≤ v ≤ 15.14.0, 16.0.0 ≤ v ≤ 16.12.0, 16.13.0 ≤ v < 16.17.1, 18.0.0 ≤ v < 18.9.1 | 16.17.1, 18.9.1 |
| siemens sinec_ins | v < 1.0, 1.0 | 1.0 |
| debian debian_linux | 11.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.