Improper handling of exceptional conditions in Node.js - CVE-2024-21892

 

Improper handling of exceptional conditions in Node.js - CVE-2024-21892

Published: February 22, 2024


Vulnerability identifier: #VU86718
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-21892
CWE-ID: CWE-755
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to the way certain environment variables are handled by Node.js on Linux. A local user can use a specially crafted environment variable to escalate privileges on the system.


Affected software

Node.js
Debian Linux
Gentoo Linux
Amazon Linux AMI
Oracle 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 LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Manager Server
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Web and Scripting Module
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server 15 SP4 LTSS
openSUSE Leap
Rational Developer for i RPG and COBOL + Modernization Tools, Java Edition
Answer Retrieval for Watson Discovery On Prem
IBM Planning Analytics Workspace
IBM Cloud Pak for Watson AIOps
IBM Business Automation Workflow
IBM Cloud Transformation Advisor
IBM Watson Discovery for IBM Cloud Pak for Data
EasyApache
App Connect Enterprise Certified Container
IBM Spectrum Control
Rational Application Developer
EMC Data Protection Advisor
IBM Cloud Pak for Business Automation
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
nodejs-nodemon
npm
nodejs
nodejs-devel
nodejs-full-i18n
nodejs-docs
nodejs18-debuginfo
npm18
nodejs18
nodejs18-devel
nodejs18-debugsource
nodejs18-docs
corepack18
nodejs (Debian package)
nodejs20
nodejs20-devel
npm20
corepack20
nodejs20-debugsource
nodejs20-debuginfo
nodejs20-docs
net-libs/nodejs
nodejs-packaging
nodejs-packaging-bundler
Oracle GraalVM for JDK
IBM App Connect Enterprise
Voice Gateway
IBM Cognos Analytics

How to mitigate CVE-2024-21892

Install updates from vendor's website.

Node.js - addressed in versions 18.19.1, 20.11.1, 21.6.2
Answer Retrieval for Watson Discovery On Prem - update to 2.16.0
Voice Gateway - addressed in versions 1.0.8.10, 1.0.8.18
IBM Planning Analytics Workspace - addressed in versions 2.0.95, 2.1.2
nodejs-nodemon - update to 3.0.1-1
IBM Cloud Transformation Advisor - update to 3.9.0
IBM Cloud Pak for Watson AIOps - update to 4.6.0
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.8.5
EasyApache - update to 4 2024-2-21
App Connect Enterprise Certified Container - addressed in versions 5.0.17, 11.5.0
IBM Spectrum Control - update to 5.4.12
Rational Application Developer - update to 9.7.0.6
npm - update to 10.2.4-1.18.19.1.1.0.1
IBM App Connect Enterprise - addressed in versions 11.0.0.25, 12.0.11.3
IBM Cognos Analytics - addressed in versions 11.2.4 FP4, 12.0.4
nodejs - update to 18.18.2-1
nodejs - update to 18.19.1-1.0.1
nodejs-devel - update to 18.19.1-1.0.1
nodejs-full-i18n - update to 18.19.1-1.0.1
nodejs-docs - update to 18.19.1-1.0.1
nodejs18-debuginfo - addressed in versions 18.19.1-8.18.1, 18.19.1-150400.9.18.2
npm18 - addressed in versions 18.19.1-8.18.1, 18.19.1-150400.9.18.2
nodejs18 - addressed in versions 18.19.1-8.18.1, 18.19.1-150400.9.18.2
nodejs18-devel - addressed in versions 18.19.1-8.18.1, 18.19.1-150400.9.18.2
nodejs18-debugsource - addressed in versions 18.19.1-8.18.1, 18.19.1-150400.9.18.2
nodejs18-docs - addressed in versions 18.19.1-8.18.1, 18.19.1-150400.9.18.2
corepack18 - update to 18.19.1-150400.9.18.2
nodejs (Debian package) - update to 18.20.4+dfsg-1~deb12u1
EMC Data Protection Advisor - update to 19.10 B46
nodejs20 - update to 20.11.1-1
nodejs20-devel - update to 20.11.1-150500.11.6.1
npm20 - update to 20.11.1-150500.11.6.1
corepack20 - update to 20.11.1-150500.11.6.1
nodejs20-debugsource - update to 20.11.1-150500.11.6.1
nodejs20-debuginfo - update to 20.11.1-150500.11.6.1
nodejs20 - update to 20.11.1-150500.11.6.1
nodejs20-docs - update to 20.11.1-150500.11.6.1
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3.33, 23.0.2.5
net-libs/nodejs - update to 22.4.1
nodejs-packaging - update to 2021.06-4
nodejs-packaging-bundler - update to 2021.06-4

External References

Related Security Bulletins