Permissions, Privileges, and Access Controls in Node.js - CVE-2023-23918

 

Permissions, Privileges, and Access Controls in Node.js - CVE-2023-23918

Published: February 20, 2023


Vulnerability identifier: #VU72398
CSH Severity: Medium
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-23918
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to bypass implemented security restrictions.

The vulnerability exists due to improperly imposed security restrictions within the process.mainModule.require() method. A remote user can access non authorized modules.


Affected software

Node.js
DB2 Warehouse on Cloud Pak for Data
DB2 on Cloud Pak for Data
Cognos Dashboards on Cloud Pak for Data
Platform Navigator in IBM Cloud Pak for Integration (CP4I)
Db2 Graph
Dell EMC Streaming Data Platform
IBM Planning Analytics Workspace
Answer Retrieval for Watson Discovery On Prem
IBM Cloud Pak for Watson AIOps
Dell Data Protection Central
Debian Linux
Amazon Linux AMI
Oracle Linux
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Anolis OS
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
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Oracle Solaris
Web and Scripting Module
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
openSUSE Leap
openEuler
Fedora
IBM Business Automation Workflow
IBM Spectrum Protect Plus
Automation Assets in IBM Cloud Pak for Integration (CP4I)
IBM Cloud Transformation Advisor
IBM Watson Discovery for IBM Cloud Pak for Data
App Connect Enterprise Certified Container
Session Smart Router
IBM Cloud Pak for Multicloud Management
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
nodejs-nodemon
nodejs-nodemon (Red Hat package)
rh-nodejs14 (Red Hat package)
npm
v8-devel
nodejs-debuginfo
nodejs-libs
nodejs-devel
nodejs-docs
nodejs-debugsource
nodejs-full-i18n
nodejs
nodejs12-devel
nodejs12-docs
nodejs12
nodejs12-debugsource
npm12
nodejs12-debuginfo
rh-nodejs14-nodejs (Red Hat package)
npm14
nodejs14-debugsource
nodejs14-docs
nodejs14
nodejs14-debuginfo
nodejs14-devel
corepack14
nodejs (Red Hat package)
nodejs16
nodejs16-devel
nodejs16-docs
nodejs16-debuginfo
npm16
nodejs16-debugsource
corepack16
npm18
nodejs18
nodejs18-devel
nodejs18-debuginfo
nodejs18-debugsource
nodejs18-docs
corepack18
nodejs (Debian package)
nodejs20
nodejs-packaging
IBM Cognos Controller
Cloud Pak for Security (CP4S)
IBM QRadar Data Synchronization App
Voice Gateway

How to mitigate CVE-2023-23918

Install updates from vendor's website.

Node.js - addressed in versions 14.21.3, 16.19.1, 18.14.1, 19.6.1
IBM Cloud Pak for Multicloud Management - update to 2.3.8
IBM Spectrum Protect Plus - update to 10.1.15
IBM Cognos Controller - update to 11.0.1.0.3
Automation Assets in IBM Cloud Pak for Integration (CP4I) - update to 2022.2.1-7
Platform Navigator in IBM Cloud Pak for Integration (CP4I) - addressed in versions 2022.2.1-8, 2022.4.1-3
Db2 Graph - addressed in versions 1.0.0.1562-amd64, 1.0.0.1562-s390x, 1.0.0.1562-ppcle, 1.0.0.1598-amd64, 1.0.0.1598-s390x, 1.0.0.1598-ppcle
Voice Gateway - addressed in versions 1.0.8.4, 1.0.8.8
Dell EMC Streaming Data Platform - update to 1.7.0
Cloud Pak for Security (CP4S) - update to 1.10.12.0
nodejs-nodemon - addressed in versions 2.0.20-3, 2.0.20-3.0.1
nodejs-nodemon (Red Hat package) - update to 2.0.20-3.el9_2
IBM Planning Analytics Workspace - update to 2.0.86
Answer Retrieval for Watson Discovery On Prem - update to 2.11.0
IBM QRadar Data Synchronization App - update to 3.2.1
IBM Cloud Transformation Advisor - update to 3.5.0
rh-nodejs14 (Red Hat package) - update to 3.6-2.el7
IBM Cloud Pak for Watson AIOps - update to 4.1.2
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.7.0
App Connect Enterprise Certified Container - addressed in versions 5.0.6, 8.1.0
Session Smart Router - addressed in versions 6.2.3-r2, 6.2.10, 6.3.7
npm - update to 6.14.16-1.12.22.11.4
npm - addressed in versions 6.14.18-1.14.21.3.1.0.1, 8.19.3-1.16.19.1.1.0.2
v8-devel - update to 7.8.279.23-1.12.22.11.4
nodejs-debuginfo - update to 12.22.11-4
nodejs-libs - update to 12.22.11-4
nodejs-devel - update to 12.22.11-4
nodejs-docs - update to 12.22.11-4
nodejs-debugsource - update to 12.22.11-4
nodejs-full-i18n - update to 12.22.11-4
nodejs - update to 12.22.11-4
nodejs12-devel - update to 12.22.12-150200.4.50.1
nodejs12-docs - update to 12.22.12-150200.4.50.1
nodejs12 - update to 12.22.12-150200.4.50.1
nodejs12-debugsource - update to 12.22.12-150200.4.50.1
npm12 - update to 12.22.12-150200.4.50.1
nodejs12-debuginfo - update to 12.22.12-150200.4.50.1
nodejs-docs - addressed in versions 14.21.3-1.0.1, 16.19.1-1.0.2
nodejs - addressed in versions 14.21.3-1.0.1, 16.19.1-1.0.2
nodejs-devel - addressed in versions 14.21.3-1.0.1, 16.19.1-1.0.2
nodejs-full-i18n - addressed in versions 14.21.3-1.0.1, 16.19.1-1.0.2
rh-nodejs14-nodejs (Red Hat package) - update to 14.21.3-2.el7
npm14 - addressed in versions 14.21.3-6.40.1, 14.21.3-150200.15.43.1
nodejs14-debugsource - addressed in versions 14.21.3-6.40.1, 14.21.3-150200.15.43.1
nodejs14-docs - addressed in versions 14.21.3-6.40.1, 14.21.3-150200.15.43.1
nodejs14 - addressed in versions 14.21.3-6.40.1, 14.21.3-150200.15.43.1
nodejs14-debuginfo - addressed in versions 14.21.3-6.40.1, 14.21.3-150200.15.43.1
nodejs14-devel - addressed in versions 14.21.3-6.40.1, 14.21.3-150200.15.43.1
corepack14 - update to 14.21.3-150200.15.43.1
nodejs (Red Hat package) - update to 16.19.1-1.el9_2
nodejs16 - addressed in versions 16.19.1-4.fc37, 16.19.1-4.fc38, 16.20.0-1.fc37, 16.20.0-1.fc38, 16.20.0-2.fc37, 16.20.0-2.fc38
nodejs16 - addressed in versions 16.19.1-8.24.1, 16.19.1-150300.7.18.1, 16.19.1-150400.3.15.1
nodejs16-devel - addressed in versions 16.19.1-8.24.1, 16.19.1-150300.7.18.1, 16.19.1-150400.3.15.1
nodejs16-docs - addressed in versions 16.19.1-8.24.1, 16.19.1-150300.7.18.1, 16.19.1-150400.3.15.1
nodejs16-debuginfo - addressed in versions 16.19.1-8.24.1, 16.19.1-150300.7.18.1, 16.19.1-150400.3.15.1
npm16 - addressed in versions 16.19.1-8.24.1, 16.19.1-150300.7.18.1, 16.19.1-150400.3.15.1
nodejs16-debugsource - addressed in versions 16.19.1-8.24.1, 16.19.1-150300.7.18.1, 16.19.1-150400.3.15.1
corepack16 - update to 16.19.1-150400.3.15.1
nodejs - update to 18.12.1-1
npm18 - addressed in versions 18.14.2-8.6.2, 18.14.2-150400.9.6.2
nodejs18 - addressed in versions 18.14.2-8.6.2, 18.14.2-150400.9.6.2
nodejs18-devel - addressed in versions 18.14.2-8.6.2, 18.14.2-150400.9.6.2
nodejs18-debuginfo - addressed in versions 18.14.2-8.6.2, 18.14.2-150400.9.6.2
nodejs18-debugsource - addressed in versions 18.14.2-8.6.2, 18.14.2-150400.9.6.2
nodejs18-docs - addressed in versions 18.14.2-8.6.2, 18.14.2-150400.9.6.2
corepack18 - update to 18.14.2-150400.9.6.2
nodejs18 - addressed in versions 18.15.0-5.fc37, 18.15.0-5.fc38, 18.15.0-6.fc37, 18.15.0-6.fc38
nodejs (Debian package) - update to 18.19.0+dfsg-6~deb12u1
nodejs20 - addressed in versions 19.8.1-6.fc37, 19.8.1-6.fc38, 19.8.1-7.fc37, 19.8.1-7.fc38
Dell Data Protection Central - update to 19.10.0-4
nodejs-packaging - addressed in versions 23-3, 25-1.0.1

External References

Related Security Bulletins