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
Affected software:
Node.js
Debian Linux
Gentoo Linux
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for ARM 64
Web and Scripting Module
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
openEuler
IBM Business Automation Workflow
EasyApache
Splunk User Behavior Analytics (UBA)
Oracle Blockchain Platform
IBM Observability with Instana
Unified OSS Console Assurance Monitoring (UOCAM)
IBM Cloud Transformation Advisor
App Connect Enterprise Certified Container
IBM Spectrum Control
IBM Cloud Pak for Business Automation
Voice Gateway
PeopleSoft Enterprise PeopleTools
Planning Analytics Local
Oracle Communications Cloud Native Core Network Function Cloud Native Environment
IBM Security QRadar Analyst Workflow
nodejs-nodemon
npm
v8-devel
nodejs (Debian package)
nodejs
nodejs-devel
nodejs-full-i18n
nodejs-docs
nodejs18-debugsource
nodejs18-devel
npm18
nodejs18
nodejs18-debuginfo
nodejs18-docs
corepack18
nodejs20-debuginfo
corepack20
nodejs20
npm20
nodejs20-devel
nodejs20-debugsource
nodejs20-docs
nodejs-debuginfo
nodejs-libs
nodejs-debugsource
net-libs/nodejs
nodejs-packaging-bundler
nodejs-packaging
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component
watsonx Assistant Cartridge
IBM Cognos Controller
IBM InfoSphere Information Server

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