Prototype pollution in Node.js - CVE-2022-21824

 

Prototype pollution in Node.js - CVE-2022-21824

Published: January 12, 2022 / Updated: October 10, 2022


Vulnerability identifier: #VU59551
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-21824
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to the formatting logic of the console.table() function. A remote attacker can send a specially crafted request and assign an empty string to numerical keys of the object prototype.



Affected software

Node.js
IBM Business Process Manager
IBM Netcool Agile Service Manager
IBM Cloud Transformation Advisor
IBM Watson Assistant for IBM Cloud Pak for Data
IBM Security Verify Governance
IBM Business Automation Workflow
Oracle Communications Cloud Native Core Binding Support Function
IBM Cloud Pak for Multicloud Management Monitoring
IBM Watson Discovery for IBM Cloud Pak for Data
App Connect Enterprise Certified Container
Amazon Linux AMI
Gentoo Linux
Oracle Linux
Red Hat Enterprise Linux for ARM 64
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 Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise Module for Web Scripting
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
Fedora
Red Hat Software Collections
MySQL Cluster
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
nodejs (Debian package)
rh-nodejs12-nodejs (Red Hat package)
rh-nodejs14-nodejs (Red Hat package)
nodejs10-debugsource
nodejs10-devel
npm10
nodejs10-debuginfo
nodejs10
nodejs10-docs
nodejs12
nodejs12-debuginfo
nodejs12-devel
nodejs12-debugsource
nodejs12-docs
npm12
nodejs
nodejs14-docs
nodejs14
nodejs14-debuginfo
npm14
nodejs14-devel
nodejs14-debugsource
JD Edwards EnterpriseOne Tools
IBM Cognos Controller
Oracle Communications Cloud Native Core Policy
IBM Cloud Pak for Watson AIOps
OpenShift Data Foundation (formerly OpenShift Container Storage)

How to mitigate CVE-2022-21824

Install updates from vendor's website.

Node.js - addressed in versions 12.22.9, 14.18.3, 16.13.2, 17.3.1
IBM Netcool Agile Service Manager - update to 1.1.13
IBM Cloud Transformation Advisor - update to 3.1.0
JD Edwards EnterpriseOne Tools - update to 9.2.7.2
nodejs (Debian package) - update to 12.22.12~dfsg-1~deb11u1
IBM Cognos Controller - update to 11.0.1.0.3
rh-nodejs12-nodejs (Red Hat package) - update to 12.22.12-2.el7
rh-nodejs14-nodejs (Red Hat package) - update to 14.20.1-2.el7
IBM Cloud Pak for Multicloud Management Monitoring - update to 2.3 Fix Pack 7
IBM Cloud Pak for Watson AIOps - update to 3.5
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.0.9
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.13.0
App Connect Enterprise Certified Container - addressed in versions 5.0.1, 6.0.0
nodejs10-debugsource - update to 10.24.1-1.46.1
nodejs10-devel - update to 10.24.1-1.46.1
npm10 - update to 10.24.1-1.46.1
nodejs10-debuginfo - update to 10.24.1-1.46.1
nodejs10 - update to 10.24.1-1.46.1
nodejs10-docs - update to 10.24.1-1.46.1
nodejs12 - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
nodejs12-debuginfo - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
nodejs12-devel - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
nodejs12-debugsource - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
nodejs12-docs - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
npm12 - addressed in versions 12.22.9-1.38.1, 12.22.9-4.25.1
nodejs - addressed in versions 12-3420220113124632.058368ca, 12-3520220113124632.f27b74a8, 14.18.3-1.fc34, 14-3420220111194720.058368ca, 14-3520220111194720.f27b74a8, 16.13.2-1.fc35, 16-3420220111194631.058368ca, 16-3520220111194631.f27b74a8
nodejs14-docs - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs14 - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs14-debuginfo - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
npm14 - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs14-devel - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs14-debugsource - addressed in versions 14.18.3-6.21.1, 14.18.3-15.24.1
nodejs - update to 18.12.1-1

External References

Related Security Bulletins