#VU93880 Server-Side Request Forgery (SSRF) in Node.js


Published: 2024-07-09

Vulnerability identifier: #VU93880

Vulnerability risk: Medium

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

CVE-ID: CVE-2024-22020

CWE-ID: CWE-918

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Node.js
Server applications / Web servers

Vendor: Node.js Foundation

Description

The disclosed vulnerability allows a remote user to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input when handling non-network imports in data URLs. A remote user can bypass network import restrictions and execute arbitrary code.

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, 20.15.0, 20.14.0, 20.13.0 - 20.13.1, 20.12.0 - 20.12.2, 20.11.0 - 20.11.1, 18.20.0 - 18.20.3, 18.19.0 - 18.19.1, 18.1.0 - 18.18.2, 18.4.0, 18.3.0, 18.2.0, 18.0.0


External links
http://hackerone.com/reports/2092749
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