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

 

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

Published: August 10, 2023 / Updated: November 30, 2023


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

Vulnerability details

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

The vulnerability exists due to usage of deprecated API process.binding(). A remote attacker can bypass the policy mechanism by requiring internal modules and eventually take advantage of process.binding('spawn_sync') run arbitrary code, outside of the limits defined in a policy.json file.

Affected software

Node.js
Gentoo Linux
Amazon Linux AMI
Debian Linux
Oracle Linux
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
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
Web and Scripting Module
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
openSUSE Leap
openEuler
Ubuntu
Fedora
IBM Business Automation Workflow
Automation Assets in IBM Cloud Pak for Integration (CP4I)
Netcool Operations Insight
IBM Watson Assistant for IBM Cloud Pak for Data
EasyApache
App Connect Enterprise Certified Container
IBM Spectrum Control
IBM Cloud Pak for Business Automation
Cognos Dashboards on Cloud Pak for Data
IBM Business Automation Manager Open Editions
Platform Navigator in IBM Cloud Pak for Integration (CP4I)
Answer Retrieval for Watson Discovery On Prem
IBM Cloud Pak for Watson AIOps
DB2 Warehouse on Cloud Pak for Data
DB2 on Cloud Pak for Data
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
nodejs-nodemon
npm
v8-devel
noslate-anode-npm
nodejs (Ubuntu package)
libnode72 (Ubuntu package)
nodejs-debugsource
nodejs-docs
nodejs-devel
nodejs
nodejs-debuginfo
nodejs-full-i18n
nodejs-libs
nodejs12-docs
nodejs12
nodejs12-debugsource
npm12
nodejs12-debuginfo
nodejs12-devel
nodejs14-devel
npm14
nodejs14-debuginfo
nodejs14
nodejs14-debugsource
nodejs14-docs
corepack14
nodejs (Red Hat package)
nodejs16
nodejs16-devel
nodejs16-debuginfo
nodejs16-debugsource
npm16
nodejs16-docs
corepack16
libnode108 (Ubuntu package)
noslate-anode-devel
noslate-anode-libs
noslate-anode
noslate-anode-docs
noslate-anode-full-i18n
nodejs18
nodejs18-devel
nodejs18-docs
nodejs18-debuginfo
nodejs18-debugsource
npm18
corepack18
nodejs (Debian package)
nodejs20
nodejs-packaging
nodejs-packaging-bundler
Event Streams
Voice Gateway
QRadar Pulse App

How to mitigate CVE-2023-32559

Install updates from vendor's website.

Node.js - addressed in versions 16.20.2, 18.17.1, 20.5.1
Cognos Dashboards on Cloud Pak for Data - update to 4.8.0
IBM Business Automation Manager Open Editions - update to 9.0.1
Event Streams - update to 11.3.0
Automation Assets in IBM Cloud Pak for Integration (CP4I) - update to 2022.2.1-12
Platform Navigator in IBM Cloud Pak for Integration (CP4I) - update to 2023.2.1-1
Voice Gateway - addressed in versions 1.0.8.8, 1.0.8.12
Netcool Operations Insight - update to 1.6.11
QRadar Pulse App - update to 2.2.12
Answer Retrieval for Watson Discovery On Prem - update to 2.14.0
nodejs-nodemon - addressed in versions 3.0.1-1, 3.0.1-1.0.1
IBM Cloud Pak for Watson AIOps - update to 4.2.1
IBM Watson Assistant for IBM Cloud Pak for Data - update to 4.7.4
DB2 Warehouse on Cloud Pak for Data - update to 4.8.2
DB2 on Cloud Pak for Data - update to 4.8.2
EasyApache - update to 4 2023-8-16
App Connect Enterprise Certified Container - addressed in versions 5.0.12, 10.1.0
IBM Spectrum Control - update to 5.4.10.2
npm - update to 6.14.16-1.12.22.11.4
v8-devel - update to 7.8.279.23-1.12.22.11.4
npm - addressed in versions 8.19.4-1.16.20.2.2.0.2, 9.6.7-1.18.17.1.1.0.2
noslate-anode-npm - update to 9.6.7-1.18.17.1.1
v8-devel - update to 10.2.154.26-1.18.17.1.1
nodejs (Ubuntu package) - addressed in versions 12.22.9~dfsg-1ubuntu3.6, 18.13.0+dfsg1-1ubuntu2.3
libnode72 (Ubuntu package) - update to 12.22.9~dfsg-1ubuntu3.6
nodejs-debugsource - update to 12.22.11-4
nodejs-docs - update to 12.22.11-4
nodejs-devel - update to 12.22.11-4
nodejs - update to 12.22.11-4
nodejs-debuginfo - update to 12.22.11-4
nodejs-full-i18n - update to 12.22.11-4
nodejs-libs - update to 12.22.11-4
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
nodejs12-devel - update to 12.22.12-150200.4.50.1
nodejs14-devel - addressed in versions 14.21.3-6.46.1, 14.21.3-150200.15.49.1
npm14 - addressed in versions 14.21.3-6.46.1, 14.21.3-150200.15.49.1
nodejs14-debuginfo - addressed in versions 14.21.3-6.46.1, 14.21.3-150200.15.49.1
nodejs14 - addressed in versions 14.21.3-6.46.1, 14.21.3-150200.15.49.1
nodejs14-debugsource - addressed in versions 14.21.3-6.46.1, 14.21.3-150200.15.49.1
nodejs14-docs - addressed in versions 14.21.3-6.46.1, 14.21.3-150200.15.49.1
corepack14 - update to 14.21.3-150200.15.49.1
nodejs (Red Hat package) - addressed in versions 16.20.2-1.el9_0, 16.20.2-1.el9_2
nodejs16 - addressed in versions 16.20.2-1.fc37, 16.20.2-1.fc38
nodejs - addressed in versions 16.20.2-2.0.2, 18.17.1-1.0.2
nodejs-devel - addressed in versions 16.20.2-2.0.2, 18.17.1-1.0.2
nodejs-full-i18n - addressed in versions 16.20.2-2.0.2, 18.17.1-1.0.2
nodejs-docs - addressed in versions 16.20.2-2.0.2, 18.17.1-1.0.2
nodejs16-devel - addressed in versions 16.20.2-8.33.1, 16.20.2-150300.7.27.2, 16.20.2-150400.3.24.1
nodejs16-debuginfo - addressed in versions 16.20.2-8.33.1, 16.20.2-150300.7.27.2, 16.20.2-150400.3.24.1
nodejs16-debugsource - addressed in versions 16.20.2-8.33.1, 16.20.2-150300.7.27.2, 16.20.2-150400.3.24.1
npm16 - addressed in versions 16.20.2-8.33.1, 16.20.2-150300.7.27.2, 16.20.2-150400.3.24.1
nodejs16 - addressed in versions 16.20.2-8.33.1, 16.20.2-150300.7.27.2, 16.20.2-150400.3.24.1
nodejs16-docs - addressed in versions 16.20.2-8.33.1, 16.20.2-150300.7.27.2, 16.20.2-150400.3.24.1
corepack16 - update to 16.20.2-150400.3.24.1
nodejs - update to 18.12.1-1
libnode108 (Ubuntu package) - update to 18.13.0+dfsg1-1ubuntu2.3
noslate-anode-devel - update to 18.17.1-1
noslate-anode-libs - update to 18.17.1-1
noslate-anode - update to 18.17.1-1
noslate-anode-docs - update to 18.17.1-1
noslate-anode-full-i18n - update to 18.17.1-1
nodejs18 - addressed in versions 18.17.1-1.fc37, 18.17.1-1.fc38
nodejs18-devel - addressed in versions 18.17.1-8.12.1, 18.17.1-150400.9.12.1
nodejs18 - addressed in versions 18.17.1-8.12.1, 18.17.1-150400.9.12.1
nodejs18-docs - addressed in versions 18.17.1-8.12.1, 18.17.1-150400.9.12.1
nodejs18-debuginfo - addressed in versions 18.17.1-8.12.1, 18.17.1-150400.9.12.1
nodejs18-debugsource - addressed in versions 18.17.1-8.12.1, 18.17.1-150400.9.12.1
npm18 - addressed in versions 18.17.1-8.12.1, 18.17.1-150400.9.12.1
corepack18 - update to 18.17.1-150400.9.12.1
nodejs (Debian package) - update to 18.19.0+dfsg-6~deb12u1
nodejs20 - addressed in versions 20.5.1-1.fc37, 20.5.1-1.fc38
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3.27, 23.0.1.5
nodejs-packaging - addressed in versions 26-1.0.1, 2021.06-4
nodejs-packaging-bundler - update to 2021.06-4

External References

Related Security Bulletins