Server-Side Request Forgery (SSRF) in Node.js - CVE-2024-22020

 

Server-Side Request Forgery (SSRF) in Node.js - CVE-2024-22020

Published: July 9, 2024 / Updated: December 4, 2024


Vulnerability identifier: #VU93880
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-22020
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Node.js Foundation
Affected software:
Node.js

Detailed vulnerability 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.


How to mitigate CVE-2024-22020

Install updates from vendor's website.

Sources