nodejs: weak randomness in WebCrypto keygen
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NodeJS | Node | unaffected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
Configuration 3 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | |||
| nodejs:16-8060020221007164523.ad008a3a | cpe:/a:redhat:enterprise_linux:8 | RHSA-2022:6964 | 2022-10-17T00:00:00Z |
| nodejs:18-8070020221004121421.bd1311ed | cpe:/a:redhat:enterprise_linux:8 | RHSA-2022:7821 | 2022-11-08T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| nodejs-1:16.17.1-1.el9_0 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2022:6963 | 2022-10-18T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DSA |
DSA-5326-1 | nodejs security update |
EUVD |
EUVD-2022-38146 | 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. |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 2.1% (2.133% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|