CVEfocus › CVE database › CVE-2022-21824

CVE-2022-21824

EPSS 3.8% (higher than 91% of CVEs)Published 2022-02-24Updated 2025-04-30Assigner: hackerone

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.

CWE-471

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

53Fixed
1Fix pending
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 16.04nodejsFix pending
Debian 14nodejsFixed12.22.9~dfsg-1DEBIAN-CVE-2022-21824
Debian 13nodejsFixed12.22.9~dfsg-1DEBIAN-CVE-2022-21824
Debian 12nodejsFixed12.22.9~dfsg-1DEBIAN-CVE-2022-21824
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Enterprise Linux 9nodejs-docsNot affected
Red Hat Enterprise Linux 9nodejs-full-i18nNot affected
Red Hat Enterprise Linux 9nodejs-libsNot affected
Red Hat Enterprise Linux 9npmNot affected
Red Hat Enterprise Linux 8nodejsFixed1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHEA-2022:5139
Red Hat Enterprise Linux 8nodejs-develFixed1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHSA-2022:7830
Red Hat Enterprise Linux 8nodejs-docsFixed1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHSA-2022:7830
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHEA-2022:5139
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:2.0.3-1.module+el8.4.0+11732+c668cc9fRHSA-2022:7830
Red Hat Enterprise Linux 8nodejs-packagingFixed0:17-3.module+el8.1.0+3369+37ae6a45RHSA-2022:9073
Red Hat Enterprise Linux 8npmFixed1:6.14.16-1.12.22.12.1.module+el8.6.0+15324+1f2c5d8dRHSA-2022:9073
AlmaLinux 8nodejsFixed1:14.20.1-2.module_el8.7.0+3342+b2df8497ALSA-2022:9073
AlmaLinux 8nodejs-develFixed1:14.20.1-2.module_el8.7.0+3342+b2df8497ALSA-2022:9073
AlmaLinux 8nodejs-docsFixed1:14.20.1-2.module_el8.7.0+3342+b2df8497ALSA-2022:9073
AlmaLinux 8nodejs-full-i18nFixed1:14.20.1-2.module_el8.7.0+3342+b2df8497ALSA-2022:9073
AlmaLinux 8nodejs-nodemonFixed2.0.20-2.module_el8.7.0+3371+ed8c43dbALSA-2022:7830
AlmaLinux 8nodejs-packagingFixed25-1.module_el8.5.0+2605+45d748afALSA-2022:7830
AlmaLinux 8npmFixed1:6.14.17-1.14.20.1.2.module_el8.7.0+3342+b2df8497ALSA-2022:9073
Rocky Linux 8nodejsFixed1:16.18.1-3.module+el8.7.0+1108+49363b0dRLSA-2022:7830
Rocky Linux 8nodejs-nodemonFixed0:2.0.19-2.module+el8.6.0+1003+ae94235aRLSA-2022:7830
Rocky Linux 8nodejs-packagingFixed0:25-1.module+el8.5.0+702+221f14e6RLSA-2022:9073
Alpine Linux 3.24nodejsFixed16.13.2-r0ALPINE-CVE-2022-21824
Alpine Linux 3.24nodejs-currentFixed17.3.1-r0ALPINE-CVE-2022-21824
Alpine Linux 3.24openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2022-21824
Alpine Linux 3.23nodejsFixed16.13.2-r0ALPINE-CVE-2022-21824
Alpine Linux 3.23nodejs-currentFixed17.3.1-r0ALPINE-CVE-2022-21824
Alpine Linux 3.23openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2022-21824
Alpine Linux 3.22nodejsFixed16.13.2-r0ALPINE-CVE-2022-21824
Alpine Linux 3.22nodejs-currentFixed17.3.1-r0ALPINE-CVE-2022-21824
Alpine Linux 3.22openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2022-21824
Alpine Linux 3.21nodejsFixed16.13.2-r0ALPINE-CVE-2022-21824
Alpine Linux 3.21nodejs-currentFixed17.3.1-r0ALPINE-CVE-2022-21824
Alpine Linux 3.21openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2022-21824
Alpine Linux 3.20nodejsFixed16.13.2-r0ALPINE-CVE-2022-21824
Alpine Linux 3.20nodejs-currentFixed17.3.1-r0ALPINE-CVE-2022-21824
Alpine Linux 3.20openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2022-21824
Alpine Linux 3.19nodejsFixed16.13.2-r0ALPINE-CVE-2022-21824
Alpine Linux 3.19nodejs-currentFixed17.3.1-r0ALPINE-CVE-2022-21824
Alpine Linux 3.19openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2022-21824
Alpine Linux 3.18nodejsFixed16.13.2-r0ALPINE-CVE-2022-21824
Alpine Linux 3.18nodejs-currentFixed17.3.1-r0ALPINE-CVE-2022-21824
Alpine Linux 3.18openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2022-21824
Alpine Linux 3.17nodejsFixed16.13.2-r0ALPINE-CVE-2022-21824
Alpine Linux 3.17nodejs-currentFixed17.3.1-r0ALPINE-CVE-2022-21824
Alpine Linux 3.17openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2022-21824
Alpine Linux 3.16nodejsFixed16.13.2-r0ALPINE-CVE-2022-21824
Alpine Linux 3.16nodejs-currentFixed17.3.1-r0ALPINE-CVE-2022-21824
Alpine Linux 3.16openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2022-21824
Alpine Linux 3.15nodejsFixed16.13.2-r0ALPINE-CVE-2022-21824
Alpine Linux 3.15nodejs-currentFixed17.3.1-r0ALPINE-CVE-2022-21824
Alpine Linux 3.15openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2022-21824
Alpine Linux 3.14nodejsFixed14.19.0-r0ALPINE-CVE-2022-21824
Alpine Linux 3.13nodejsFixed14.19.0-r0ALPINE-CVE-2022-21824
Alpine Linux 3.12nodejsFixed12.22.10-r0ALPINE-CVE-2022-21824

What the vendor says

As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.