CVE-2022-21824
HIGH8.2EPSS 0.34%Published: 2/24/2022Modified: 12/3/2025
Also known as:ALPINE-CVE-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 packages (4)
- Alpine/nodejsfrom 0, < 12.22.10-r0
- Bitnami/node>= 12.0.0, < 12.22.9, >= 14.0.0, < 14.18.3, >= 16.0.0, < 16.13.2, >= 17.0.0, < 17.3.1
- Bitnami/node-min>= 12.0.0, < 12.22.9, >= 14.0.0, < 14.18.3, >= 16.0.0, < 16.13.2, >= 17.0.0, < 17.3.1
- Debian/nodejsfrom 0, < 12.22.12~dfsg-1~deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
References (11)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2022-21824
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-21824
- WEBhttps://hackerone.com/reports/1431042
- WEBhttps://lists.debian.org/debian-lts-announce/2022/10/msg00006.html
- WEBhttps://nodejs.org/en/blog/vulnerability/jan-2022-security-releases/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-21824
- WEBhttps://security.netapp.com/advisory/ntap-20220325-0007/
- WEBhttps://security.netapp.com/advisory/ntap-20220729-0004/
- WEBhttps://www.debian.org/security/2022/dsa-5170
- WEBhttps://www.oracle.com/security-alerts/cpuapr2022.html
- WEBhttps://www.oracle.com/security-alerts/cpujul2022.html