CVE-2022-35255
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Node
- Vendor
- NodeJS
- Product
- Node
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4.0 | affected | semver | 4.* | Unavailable | None listed |
| 5.0 | affected | semver | 5.* | Unavailable | None listed |
| 6.0 | affected | semver | 6.* | Unavailable | None listed |
| 7.0 | affected | semver | 7.* | Unavailable | None listed |
| 8.0 | affected | semver | 8.* | Unavailable | None listed |
| 9.0 | affected | semver | 9.* | Unavailable | None listed |
| 10.0 | affected | semver | 10.* | Unavailable | None listed |
| 11.0 | affected | semver | 11.* | Unavailable | None listed |
| 12.0 | affected | semver | 12.* | Unavailable | None listed |
| 13.0 | affected | semver | 13.* | Unavailable | None listed |
| 15.0 | affected | semver | 15.* | Unavailable | None listed |
| 17.0 | affected | semver | 17.* | Unavailable | None listed |
| 18.0 | affected | semver | 18.9.1 | Unavailable | None listed |