Permissions, Privileges, and Access Controls in Node.js - CVE-2024-22018

 

Permissions, Privileges, and Access Controls in Node.js - CVE-2024-22018

Published: July 9, 2024


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

Vulnerability details

The vulnerability allows a remote user to bypass permissions model.

The vulnerability exists due to application does not properly impose security restrictions when experimental permission model when the --allow-fs-read flag is used. A remote user can retrieve stats from files that they do not have explicit read access to.


Affected software

Node.js
Gentoo Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Web and Scripting Module
openSUSE Leap
openEuler
IBM Business Automation Workflow
EasyApache
Unified OSS Console Assurance Monitoring (UOCAM)
IBM Cloud Transformation Advisor
IBM Cloud Pak for Business Automation
Planning Analytics Local
IBM Security QRadar Analyst Workflow
nodejs-nodemon
npm
v8-devel
nodejs20
corepack20
nodejs20-debuginfo
npm20
nodejs20-devel
nodejs20-debugsource
nodejs20-docs
nodejs-docs
nodejs-full-i18n
nodejs-devel
nodejs
nodejs-debuginfo
nodejs-debugsource
nodejs-libs
net-libs/nodejs
nodejs-packaging
nodejs-packaging-bundler
watsonx Assistant Cartridge
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component
IBM Cognos Controller

How to mitigate CVE-2024-22018

Install updates from vendor's website.

Node.js - addressed in versions 20.15.1, 22.4.1
EasyApache - update to 4 2024-7-10
Planning Analytics Local - addressed in versions 2.0.0.99, 2.1.6
IBM Security QRadar Analyst Workflow - update to 2.34.0
nodejs-nodemon - update to 3.0.1-1
Unified OSS Console Assurance Monitoring (UOCAM) - update to 3.1.9
IBM Cloud Transformation Advisor - update to 3.10.1
watsonx Assistant Cartridge - update to 5.1.1
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component - update to 5.1.1
npm - update to 10.8.1-1.20.16.0.1
npm - update to 10.8.2-1.20.18.2.1
IBM Cognos Controller - addressed in versions 11.0.1.4, 11.1.0.2
v8-devel - update to 11.3.244.8-1.20.18.2.1
nodejs20 - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
corepack20 - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
nodejs20-debuginfo - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
npm20 - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
nodejs20-devel - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
nodejs20-debugsource - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
nodejs20-docs - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
nodejs-docs - update to 20.16.0-1
nodejs-full-i18n - update to 20.16.0-1
nodejs-devel - update to 20.16.0-1
nodejs - update to 20.16.0-1
nodejs - update to 20.18.2-1
nodejs-debuginfo - update to 20.18.2-1
nodejs-debugsource - update to 20.18.2-1
nodejs-devel - update to 20.18.2-1
nodejs-full-i18n - update to 20.18.2-1
nodejs-libs - update to 20.18.2-1
nodejs-docs - update to 20.18.2-1
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3-IF037, 24.0.0-IF003
net-libs/nodejs - update to 22.4.1
nodejs-packaging - update to 2021.06-4
nodejs-packaging-bundler - update to 2021.06-4

External References

Related Security Bulletins