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

 

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

Published: July 9, 2024


Vulnerability identifier: #VU93881
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-36137
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
Node.js
Gentoo Linux
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 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
nodejs-nodemon
npm
nodejs-npm
v8-devel
v8-12.4-devel
nodejs20-docs
nodejs20-debugsource
nodejs20-devel
npm20
nodejs20-debuginfo
corepack20
nodejs20
nodejs-devel
nodejs-docs
nodejs-full-i18n
nodejs
nodejs-libs
nodejs-debugsource
nodejs-debuginfo
net-libs/nodejs
npm22
nodejs22-debugsource
nodejs22
corepack22
nodejs22-devel
nodejs22-debuginfo
nodejs22-docs
nodejs-packaging-bundler
nodejs-packaging
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component
watsonx Assistant Cartridge
IBM Cognos Controller

Detailed vulnerability description

The vulnerability allows a remote user to escalate privileges within the application.

The vulnerability exists due to application does not properly impose security restrictions in the experimental permission model when the --allow-fs-write flag is used. A remote user can change file ownership and permissions via fs.fchown and fs.fchmod.


How to mitigate CVE-2024-36137

Install updates from vendor's website.

Sources