CVE-2022-35255
Summary
| CVE | CVE-2022-35255 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-12-05 22:15:00 UTC |
| Updated | 2023-03-01 15:03:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 160143 Oracle Enterprise Linux Security Update for nodejs (ELSA-2022-6963)
- 160144 Oracle Enterprise Linux Security Update for nodejs:16 (ELSA-2022-6964)
- 160211 Oracle Enterprise Linux Security Update for nodejs:18 (ELSA-2022-7821)
- 181502 Debian Security Update for nodejs (DSA 5326-1)
- 183889 Debian Security Update for nodejs (CVE-2022-35255)
- 240731 Red Hat Update for nodejs:16 (RHSA-2022:6964)
- 240732 Red Hat Update for nodejs (RHSA-2022:6963)
- 240857 Red Hat Update for nodejs:18 (RHSA-2022:7821)
- 283356 Fedora Security Update for nodejs (FEDORA-2022-de515f765f)
- 283357 Fedora Security Update for nodejs (FEDORA-2022-52dec6351a)
- 283432 Fedora Security Update for nodejs (FEDORA-2022-1667f7b60a)
- 296098 Oracle Solaris 11.4 Support Repository Update (SRU) 52.132.2 Missing (CPUOCT2022)
- 355273 Amazon Linux Security Advisory for nodejs : ALAS2023-2023-084
- 502514 Alpine Linux Security Update for nodejs-current
- 502531 Alpine Linux Security Update for nodejs
- 504211 Alpine Linux Security Update for nodejs
- 753199 SUSE Enterprise Linux Security Update for nodejs16 (SUSE-SU-2022:3656-1)
- 753404 SUSE Enterprise Linux Security Update for nodejs16 (SUSE-SU-2022:3615-1)
- 753698 SUSE Enterprise Linux Security Update for nodejs18 (SUSE-SU-2023:0419-1)
- 940692 AlmaLinux Security Update for nodejs (ALSA-2022:6963)
- 940721 AlmaLinux Security Update for nodejs:16 (ALSA-2022:6964)
- 940740 AlmaLinux Security Update for nodejs:18 (ALSA-2022:7821)
- 960403 Rocky Linux Security Update for nodejs:16 (RLSA-2022:6964)
- 960479 Rocky Linux Security Update for nodejs:18 (RLSA-2022:7821)
- 960543 Rocky Linux Security Update for nodejs (RLSA-2022:6963)