Use of insufficiently random values in Node.js - CVE-2022-35255

 

Use of insufficiently random values in Node.js - CVE-2022-35255

Published: October 3, 2022


Vulnerability identifier: #VU67849
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-35255
CWE-ID: CWE-330
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
Node.js
Gentoo Linux
Debian Linux
Oracle Linux
Amazon Linux AMI
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Web Scripting
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
Fedora
IBM Watson Assistant for IBM Cloud Pak for Data
IBM Watson Discovery for IBM Cloud Pak for Data
EasyApache
IBM Maximo Application Suite - Manage Component
Netcool Operations Insight
IBM Cloud Pak for Multicloud Management Monitoring
IBM Cloud Transformation Advisor
App Connect Enterprise Certified Container
IBM Spectrum Protect Plus
IBM Cloud Pak for Business Automation
Cloud Pak for Security (CP4S)
Event Streams
IBM Cognos Controller
Swagger UI
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
nodejs (Red Hat package)
nodejs-nodemon
npm
nodejs (Debian package)
nodejs
nodejs-devel
nodejs-full-i18n
nodejs-docs
nodejs16-debugsource
nodejs16-docs
npm16
nodejs16-devel
nodejs16-debuginfo
nodejs16
corepack16
nodejs18
nodejs18-debuginfo
nodejs18-debugsource
nodejs18-devel
npm18
nodejs18-docs
corepack18
nodejs-packaging
nodejs-packaging-bundler
SINEC INS
IBM Planning Analytics Workspace
Cloud Pak for Network Automation
Answer Retrieval for Watson Discovery On Prem
Watson CP4D Data Stores
Dell Data Protection Central
IBM Cognos Analytics

Detailed vulnerability description

The vulnerability allows a remote attacker to decrypt sensitive information.

The vulnerability exists due to usage of weak randomness in WebCrypto keygen within the SecretKeyGenTraits::DoKeyGen() in src/crypto/crypto_keygen.cc. A remote attacker can decrypt sensitive information.


How to mitigate CVE-2022-35255

Install updates from vendor's website.

Sources