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


Published: 2023-06-21

Vulnerability identifier: #VU77586

Vulnerability risk: Medium

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

CVE-ID: CVE-2023-30581

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 attacker to bypass implemented security restrictions.

The vulnerability exists due to the use of proto in process.mainModule.proto.require(). This allows to bypass the policy mechanism and require modules outside of the policy.json definition.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Node.js: 18.1.0 - 18.16.0, 18.4.0, 18.3.0, 18.2.0, 18.0.0, 17.9.0 - 17.9.1, 17.8.0, 17.7.0 - 17.7.2, 17.6.0, 17.5.0, 17.4.0, 17.3.0 - 17.3.1, 17.2.0, 17.1.0, 17.0.0 - 17.0.1, 16.2.0 - 16.20.0, 16.1.0 - 16.19.1, 16.15.0 - 16.15.1, 16.14.0 - 16.14.2, 16.13.0 - 16.13.2, 16.12.0, 16.11.0 - 16.11.1, 16.10.0, 16.9.0 - 16.9.1, 16.8.0, 16.7.0, 16.6.0 - 16.6.2, 16.5.0, 16.4.0 - 16.4.2, 16.3.0, 16.0.0


External links
http://nodejs.org/en/blog/vulnerability/june-2023-security-releases


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker 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