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 package | Versions | Reported by |
|---|---|---|
| NodeJS Node | from 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 more | CVE List |
| nodejs node.js | from 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.1 | NVD |
| oracle mysql_cluster | up to 8.0.29 | NVD |
| oracle mysql_connectors | up to 8.0.28 | NVD |
| oracle mysql_enterprise_monitor | up to 8.0.29 | NVD |
| oracle mysql_server | up to 8.0.29 | NVD |
| oracle mysql_workbench | up to 8.0.28 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.58, 8.59 | NVD |
| debian debian_linux | 10.0, 11.0 | NVD |
| netapp oncommand_insight | Not specified | NVD |
| netapp oncommand_workflow_automation | Not specified | NVD |
| netapp snapcenter | Not specified | NVD |
| node (Bitnami) | from 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.1 | Bitnami Vulnerability Database |
| node-min (Bitnami) | from 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.1 | Bitnami Vulnerability Database |
All scores
| NVD | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| NVD | 6.4medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
| Bitnami Vulnerability Database | high 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/1431042 | advisory, issue-tracking, mitigation, third-party-advisory | |
| https://www.oracle.com/security-alerts/cpuapr2022.html | advisory, patch, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20220325-0007/ | advisory, third-party-advisory | |
| https://www.debian.org/security/2022/dsa-5170 | advisory, third-party-advisory, vendor-advisory | |
| https://www.oracle.com/security-alerts/cpujul2022.html | advisory, 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.html | advisory, mailing-list, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-21824 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-21824 changed 2025-04-30 | CVE Terms of Use |
| NVD | CVE-2022-21824 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2022-21824 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2022-21824 changed 2026-09-08 | Apache-2.0 |