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: 7.7 [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]
CVE-ID: CVE-2024-22020
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Node.js
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
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
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
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
Voice Gateway
PeopleSoft Enterprise PeopleTools
Planning Analytics Local
Oracle Communications Cloud Native Core Network Function Cloud Native Environment
nodejs (Debian package)
nodejs-nodemon
npm
v8-devel
nodejs-docs
nodejs-full-i18n
nodejs-devel
nodejs
nodejs18-debugsource
nodejs18-devel
npm18
nodejs18
nodejs18-debuginfo
nodejs18-docs
corepack18
nodejs20-debuginfo
corepack20
nodejs20-docs
nodejs20-debugsource
nodejs20-devel
npm20
nodejs20
nodejs-libs
nodejs-debugsource
nodejs-debuginfo
nodejs-packaging-bundler
nodejs-packaging
net-libs/nodejs
IBM Security QRadar Analyst Workflow
watsonx Assistant Cartridge
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component
IBM Cognos Controller
IBM InfoSphere Information Server

How to mitigate CVE-2024-22020

Install updates from vendor's website.

Node.js - addressed in versions 18.20.4, 20.15.1, 22.4.1
Voice Gateway - addressed in versions 1.0.8.13, 1.0.8.21
EasyApache - update to 4 2024-7-10
Splunk User Behavior Analytics (UBA) - update to 5.4.3
IBM Observability with Instana - update to 286
nodejs (Debian package) - update to 18.20.4+dfsg-1~deb12u1
nodejs-nodemon - update to 3.0.1-1
npm - addressed in versions 10.7.0-1.18.20.4.1, 10.8.1-1.20.16.0.1
npm - update to 10.8.2-1.20.18.2.1
v8-devel - update to 11.3.244.8-1.20.18.2.1
nodejs-docs - addressed in versions 18.20.4-1, 20.16.0-1
nodejs-full-i18n - addressed in versions 18.20.4-1, 20.16.0-1
nodejs-devel - addressed in versions 18.20.4-1, 20.16.0-1
nodejs - addressed in versions 18.20.4-1, 20.16.0-1
nodejs18-debugsource - addressed in versions 18.20.4-8.24.1, 18.20.4-150400.9.24.2
nodejs18-devel - addressed in versions 18.20.4-8.24.1, 18.20.4-150400.9.24.2
npm18 - addressed in versions 18.20.4-8.24.1, 18.20.4-150400.9.24.2
nodejs18 - addressed in versions 18.20.4-8.24.1, 18.20.4-150400.9.24.2
nodejs18-debuginfo - addressed in versions 18.20.4-8.24.1, 18.20.4-150400.9.24.2
nodejs18-docs - addressed in versions 18.20.4-8.24.1, 18.20.4-150400.9.24.2
corepack18 - update to 18.20.4-150400.9.24.2
nodejs20-debuginfo - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
corepack20 - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
nodejs20-docs - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
nodejs20-debugsource - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
nodejs20-devel - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
npm20 - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
nodejs20 - addressed in versions 20.15.1-150500.11.12.2, 20.15.1-150600.3.3.2
nodejs-docs - update to 20.18.2-1
nodejs-full-i18n - update to 20.18.2-1
nodejs-libs - update to 20.18.2-1
nodejs-devel - update to 20.18.2-1
nodejs-debugsource - update to 20.18.2-1
nodejs - update to 20.18.2-1
nodejs-debuginfo - update to 20.18.2-1
nodejs-packaging-bundler - update to 2021.06-4
nodejs-packaging - update to 2021.06-4
Planning Analytics Local - addressed in versions 2.0.0.99, 2.1.6
IBM Security QRadar Analyst Workflow - update to 2.34.0
Unified OSS Console Assurance Monitoring (UOCAM) - update to 3.1.9
IBM Cloud Transformation Advisor - update to 3.10.1
App Connect Enterprise Certified Container - addressed in versions 5.0.22, 12.0.6, 12.6.0
watsonx Assistant Cartridge - update to 5.1.1
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component - update to 5.1.1
IBM Spectrum Control - update to 5.4.12.1
IBM Cognos Controller - addressed in versions 11.0.1.4, 11.1.0.2
IBM InfoSphere Information Server - update to 11.7.1 Fix Pack 5
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3-IF037, 24.0.0-IF003
net-libs/nodejs - update to 22.4.1

External References

Related Security Bulletins