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
Vendor: Node.js Foundation
Affected software:
Node.js

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