CVE | CVE-2022-35255 |
CVE Ordinal Value | 240825 |
Published Date | 2022-12-05T22:15Z |
Modified Date | 2022-12-08T15:58Z |
CWE Type | CWE-338 |
CVSS 3.x | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
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. |
References | |
By clicking these links you will leave this website. We do not endorse and will not be held accountable for any activity on external sites. | |
Reference URL | https://hackerone.com/reports/1690000 |
Reference Description | MISC https://hackerone.com/reports/1690000 |
Reference Description | |
Tags | Exploit Issue Tracking Third Party Advisory |
Sources | NIST MITRE |