#VU93882 Permissions, Privileges, and Access Controls in Node.js


Vulnerability identifier: #VU93882

Vulnerability risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-22018

CWE-ID: CWE-264

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Node.js
Server applications / Web servers

Vendor: Node.js Foundation

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Node.js: 22.4.0, 22.3.0, 22.2.0, 22.1.0, 22.0.0, 21.7.0 - 21.7.3, 21.6.0 - 21.6.2, 21.5.0, 21.4.0, 21.3.0, 21.2.0, 21.1.0, 21.0.0, 20.15.0, 20.14.0, 20.13.0 - 20.13.1, 20.12.0 - 20.12.2, 20.11.0 - 20.11.1, 20.10.0, 20.9.0, 20.8.1, 20.8.0, 20.7.0, 20.6.1, 20.6.0, 20.5.1, 20.5.0, 20.4.0, 20.3.1, 20.3.0, 20.2.0, 20.1.0, 20.0.0


External links
http://nodejs.org/en/blog/vulnerability/july-2024-security-releases


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability