CVE-2022-21824
JSON

8.2high

Due to the formatting logic of the "console.table()" function it was not safe to allow user controlled input to be passed to the "propertie…

Severity
8.2high CVSS:3.1 by NVD
Exploit likelihood
19.1% (higher than 97% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2022-21824BIT-NODE-MIN-2022-21824

Description

Due to the formatting logic of the "console.table()" function it was not safe to allow user controlled input to be passed to the "properties" parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be "__proto__". The prototype pollution has very limited control, in that it only allows an empty string to be assigned to numerical keys of the object prototype.Node.js >= 12.22.9, >= 14.18.3, >= 16.13.2, and >= 17.3.1 use a null protoype for the object these properties are being assigned to.

Affected

Product or packageVersionsReported by
NodeJS Nodefrom 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 6 moreCVE List
nodejs node.jsfrom 12.0.0 before 12.22.9, from 14.0.0 before 14.18.3, from 16.0.0 before 16.13.2, from 17.0.0 before 17.3.1NVD
oracle mysql_clusterup to 8.0.29NVD
oracle mysql_connectorsup to 8.0.28NVD
oracle mysql_enterprise_monitorup to 8.0.29NVD
oracle mysql_serverup to 8.0.29NVD
oracle mysql_workbenchup to 8.0.28NVD
oracle peoplesoft_enterprise_peopletools8.58, 8.59NVD
debian debian_linux10.0, 11.0NVD
netapp oncommand_insightNot specifiedNVD
netapp oncommand_workflow_automationNot specifiedNVD
netapp snapcenterNot specifiedNVD

All scores

NVD8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD6.4medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

Due to the formatting logic of the "console.table()" function it was not safe to allow user controlled input to be passed to the "properties" parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be "__proto__". The prototype pollution has very limited control, in that it only allows an empty string to be assigned to numerical keys of the object prototype.Node.js >= 12.22.9, >= 14.18.3, >= 16.13.2, and >= 17.3.1 use a null protoype for the object these properties are being assigned to.

NVD (es)

Debido a la lógica de formato de la función "console.table()" no era seguro permitir que pasara la entrada controlada por el usuario al parámetro "properties" mientras pasaba simultáneamente un objeto plano con al menos una propiedad como primer parámetro, que podía ser "__proto__". La contaminación del prototipo presenta un control muy limitado, ya que sólo permite asignar una cadena vacía a las claves numéricas del prototipo del objeto.Node.js versiones posteriores a 12.22.9 incluyéndola, versiones posteriores a 14.18.3 incluyéndola, versiones posteriores a 16.13.2 incluyéndola, y versiones posteriores a 17.3.1 incluyéndola, usan un prototipo nulo para el objeto al que es asignada estas propiedades.

References

https://nodejs.org/en/blog/vulnerability/jan-2022-security-releases/advisory, release-notes, vendor-advisory
https://hackerone.com/reports/1431042advisory, issue-tracking, mitigation, third-party-advisory
https://www.oracle.com/security-alerts/cpuapr2022.htmladvisory, patch, third-party-advisory
https://security.netapp.com/advisory/ntap-20220325-0007/advisory, third-party-advisory
https://www.debian.org/security/2022/dsa-5170advisory, third-party-advisory, vendor-advisory
https://www.oracle.com/security-alerts/cpujul2022.htmladvisory, third-party-advisory
https://security.netapp.com/advisory/ntap-20220729-0004/advisory, third-party-advisory
https://lists.debian.org/debian-lts-announce/2022/10/msg00006.htmladvisory, mailing-list, third-party-advisory
https://nvd.nist.gov/vuln/detail/CVE-2022-21824web

Sources

SourceRecordLicence
CVE ListCVE-2022-21824 changed 2025-04-30CVE Terms of Use
NVDCVE-2022-21824 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2022-21824 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2022-21824 changed 2026-09-08Apache-2.0