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: 8.7 [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]
CVE-ID: CVE-2022-35255
CWE-ID: CWE-330
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


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

How to mitigate CVE-2022-35255

Install updates from vendor's website.

Node.js - addressed in versions 14.20.1, 16.17.1, 18.9.1
IBM Watson Assistant for IBM Cloud Pak for Data - update to 4.5.3
Cloud Pak for Security (CP4S) - update to 1.10.15.0
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.6.0
Swagger UI - update to 4.14.3
EasyApache - update to 4 2022-9-29
IBM Maximo Application Suite - Manage Component - addressed in versions 8.6.27, 8.7.21, 9.0.14
Event Streams - update to 11.0.0
IBM Cognos Controller - update to 11.0.1.0.3
nodejs (Red Hat package) - update to 16.17.1-1.el9_0
SINEC INS - update to 1.0 SP2 Update 1
Netcool Operations Insight - update to 1.6.7
nodejs-nodemon - addressed in versions 2.0.19-1, 2.0.19-2
IBM Planning Analytics Workspace - update to 2.0.83
IBM Cloud Pak for Multicloud Management Monitoring - update to 2.3 Fix Pack 6
Cloud Pak for Network Automation - update to 2.4.7
Answer Retrieval for Watson Discovery On Prem - update to 2.9.0
IBM Cloud Transformation Advisor - update to 3.3.1
App Connect Enterprise Certified Container - addressed in versions 5.0.2, 6.2.0
Watson CP4D Data Stores - update to 5.0.3
npm - addressed in versions 8.15.0-1.16.17.1.1, 8.19.1-1.18.9.1.1
IBM Spectrum Protect Plus - update to 10.1.15
IBM Cognos Analytics - addressed in versions 11.1.7 Fix Pack 7, 11.2.4.1 IF1
nodejs (Debian package) - update to 12.22.12~dfsg-1~deb11u3
nodejs - addressed in versions 16.17.1-1, 18.9.1-1
nodejs-devel - addressed in versions 16.17.1-1, 18.9.1-1
nodejs-full-i18n - addressed in versions 16.17.1-1, 18.9.1-1
nodejs-docs - addressed in versions 16.17.1-1, 18.9.1-1
nodejs - addressed in versions 16.17.1-1.fc35, 16.17.1-1.fc36, 16.18.1-1.fc35, 16.18.1-1.fc36, 18.9.1-1.fc37, 18.10.0-1.fc37, 18.12.1-1.fc37
nodejs16-debugsource - addressed in versions 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
nodejs16-docs - addressed in versions 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
npm16 - addressed in versions 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
nodejs16-devel - addressed in versions 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
nodejs16-debuginfo - addressed in versions 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
nodejs16 - addressed in versions 16.17.1-8.12.1, 16.17.1-150300.7.12.1, 16.17.1-150400.3.9.1
corepack16 - update to 16.17.1-150400.3.9.1
nodejs - update to 18.12.1-1
nodejs18 - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
nodejs18-debuginfo - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
nodejs18-debugsource - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
nodejs18-devel - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
npm18 - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
nodejs18-docs - addressed in versions 18.13.0-8.3.1, 18.13.0-150400.9.3.1
corepack18 - update to 18.13.0-150400.9.3.1
Dell Data Protection Central - update to 19.10.0-4
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3.15, 22.0.1.5
nodejs-packaging - addressed in versions 25-1, 2021.06-4
nodejs-packaging-bundler - update to 2021.06-4

External References

Related Security Bulletins