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.0: 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/E:U/U:Clear
CVE-ID: CVE-2024-22018
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
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

Detailed vulnerability description

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.


How to mitigate CVE-2024-22018

Install updates from vendor's website.

Sources