cve.bz

CVE-2022-21824 Prototype Pollution

8.2 highEPSS 22%Fix available

High (8.2). EPSS 22% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS
22% (unchanged from 22% a week ago; 22% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
CWE-471 Modification of Assumed-Immutable Data (MAID)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-21824 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-21824?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-21824?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-21824 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NodeJS Nodefrom 4.0 before 4.*
NodeJS Nodefrom 5.0 before 5.*
NodeJS Nodefrom 6.0 before 6.*
NodeJS Nodefrom 7.0 before 7.*
NodeJS Nodefrom 8.0 before 8.*
NodeJS Nodefrom 9.0 before 9.*
NodeJS Nodefrom 10.0 before 10.*
NodeJS Nodefrom 11.0 before 11.*
NodeJS Nodefrom 12.0 before 12.22.9
NodeJS Nodefrom 13.0 before 13.*
NodeJS Nodefrom 14.0 before 14.18.3
NodeJS Nodefrom 15.0 before 15.*
NodeJS Nodefrom 16.0 before 16.13.2
NodeJS Nodefrom 17.0 before 17.3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10nodejs10.24.0~dfsg-1~deb10u2DLA-3137-1
Debian11nodejs12.22.12~dfsg-1~deb11u1DSA-5170-1
Debian12, 13, 14nodejs12.22.9~dfsg-1DEBIAN-CVE-2022-21824
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:12.22.12-1.module+el8.6.0+15324+1f2c5d8dRHEA-2022:5139
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.20.1-2.module+el8.7.0+16991+b0a68a3eRHSA-2022:7830
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHSA-2022:9073
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.19-2.module+el8.7.0+16991+b0a68a3eRHSA-2022:7830
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-2.module+el8.7.0+17412+bb0e4a6bRHSA-2022:9073
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.3-1.module+el8.4.0+11732+c668cc9fRHEA-2022:5139
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8.1.0+3369+37ae6a45RHEA-2022:5139
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2022:7830
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:25-1.module+el8.5.0+10992+fac5fe06RHSA-2022:9073
Red Hatenterprise_linux:8::appstreamnpm1:6.14.16-1.12.22.12.1.module+el8.6.0+15324+1f2c5d8dRHEA-2022:5139
Red Hatenterprise_linux:8::appstreamnpm1:6.14.17-1.14.20.1.2.module+el8.7.0+16991+b0a68a3eRHSA-2022:7830
Red Hatenterprise_linux:8::appstreamnpm1:8.19.2-1.16.18.1.3.module+el8.7.0+17465+1a1abd74RHSA-2022:9073
20 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 16 morenodejs1010.24.1-150000.1.44.1SUSE-SU-2022:1717-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1010.24.1-1.46.1SUSE-SU-2022:0570-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1212.22.9-1.38.1SUSE-SU-2022:0101-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1414.18.3-6.21.1SUSE-SU-2022:0114-1
SUSELinux Enterprise Module for Web and Scripting 15 SP3nodejs1212.22.9-4.25.1SUSE-SU-2022:0113-1
SUSELinux Enterprise Module for Web and Scripting 15 SP3nodejs1414.18.3-15.24.1SUSE-SU-2022:0112-1
SUSEPackage Hub 15 SP3chromium100.0.4896.88-bp153.2.82.1openSUSE-SU-2022:0112-1
SUSEPackage Hub 15 SP3htmldoc1.9.12-bp153.2.9.1openSUSE-SU-2022:0113-1
openSUSELeap 15.3chromium100.0.4896.88-bp153.2.82.1openSUSE-SU-2022:0112-1
openSUSELeap 15.3htmldoc1.9.12-bp153.2.9.1openSUSE-SU-2022:0113-1
openSUSELeap 15.3nodejs1212.22.9-4.25.1openSUSE-SU-2022:0113-1
openSUSELeap 15.3nodejs1414.18.3-15.24.1openSUSE-SU-2022:0112-1
openSUSELeap 15.3, Leap 15.4nodejs1010.24.1-150000.1.44.1SUSE-SU-2022:1717-1
openSUSETumbleweednodejs1616.13.2-1.1openSUSE-SU-2024:11746-1
openSUSETumbleweednodejs1717.3.1-1.1openSUSE-SU-2024:11730-1
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:14.20.1-2.module_el8.7.0+3342+b2df8497ALSA-2022:7830
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux8nodejs-nodemon2.0.19-2.module_el8.6.0+3261+490666b3ALSA-2022:7830
AlmaLinux8nodejs-nodemon2.0.20-2.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2022:7830
AlmaLinux8nodejs-packaging25-1.module_el8.5.0+2605+45d748afALSA-2022:9073
AlmaLinux8npm1:6.14.17-1.14.20.1.2.module_el8.7.0+3342+b2df8497ALSA-2022:7830
AlmaLinux8npm1:8.19.2-1.16.18.1.3.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
Rocky Linux8nodejs1:14.20.1-2.module+el8.7.0+1071+4bdda2a8RLSA-2022:7830
Rocky Linux8nodejs1:16.18.1-3.module+el8.7.0+1108+49363b0dRLSA-2022:9073
Rocky Linux8nodejs-nodemon0:2.0.19-2.module+el8.6.0+1003+ae94235aRLSA-2022:7830
Rocky Linux8nodejs-nodemon0:2.0.19-2.module+el8.6.0+1046+80feca58RLSA-2022:7830
Rocky Linux8nodejs-nodemon0:2.0.20-2.module+el8.7.0+1108+49363b0dRLSA-2022:9073
Rocky Linux8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2022:7830
Rocky Linux8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2022:7830
Rocky Linux8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2022:7830
Rocky Linux8nodejs-packaging0:25-1.module+el8.5.0+702+221f14e6RLSA-2022:9073
Rocky Linux8nodejs-packaging0:25-1.module+el8.6.0+1046+80feca58RLSA-2022:9073
Alpinev3.12nodejs12.22.10-r0ALPINE-CVE-2022-21824
Alpinev3.13, v3.14nodejs14.19.0-r0ALPINE-CVE-2022-21824
Alpinev3.15, v3.16, v3.17 and 7 morenodejs16.13.2-r0ALPINE-CVE-2022-21824
Alpinev3.15, v3.16, v3.17 and 7 morenodejs-current17.3.1-r0ALPINE-CVE-2022-21824
Alpinev3.15, v3.16, v3.17 and 7 moreopenjdk1111.0.15_p10-r0ALPINE-CVE-2022-21824
Azure Linux2nodejs16.14.0-1AZL-8864

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Quay from version 3.4 consumes nodejs from RHEL, so security tracking is provided by the container health index on the customer portal [1]. Additionally there is no impact from this issue on Quay 3.3 and 3.2 because nodejs is only used at build time and is no longer shipped, starting with Quay 3.5 [2].

[1] https://catalog.redhat.com/software/containers/quay/quay-rhel8/600e03aadd19c7786c43ae49?container-tabs=security

[2] https://issues.redhat.com/browse/PROJQUAY-1409

Therefore Quay component is marked as "Will not fix".

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:12-8060020220523160029.ad008a3aFixed 2022-06-21RHEA-2022:5139
Red Hat Enterprise Linux 8nodejs:14-8070020221020110846.bd1311edFixed 2022-11-08RHSA-2022:7830
Red Hat Enterprise Linux 8nodejs:16-8070020221207164159.bd1311edFixed 2022-12-15RHSA-2022:9073
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsnodejs:12-8010020220518102644.c27ad7f8Fixed 2022-06-07RHEA-2022:4925
Red Hat Enterprise Linux 8.2 Extended Update Supportnodejs:12-8020020220523154454.4cda2c84Fixed 2022-06-28RHEA-2022:5221
Red Hat Enterprise Linux 8.4 Extended Update Supportnodejs:12-8040020220523155137.522a0ee4Fixed 2022-07-19RHEA-2022:5615
Red Hat Enterprise Linux 8.6 Extended Update Supportnodejs:14-8060020230306170237.ad008a3aFixed 2023-04-12RHSA-2023:1742
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-0:12.22.12-2.el7Fixed 2022-06-06RHSA-2022:4914
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.20.1-2.el7Fixed 2022-10-19RHSA-2022:7044
RHODF-4.13-RHEL-9odf4/mcg-core-rhel9:v4.13.0-41Fixed 2023-06-21RHSA-2023:3742
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Quay 3nodejsWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-21824.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium
  • CAPEC-384 Application API Message Manipulation via Man-in-the-Middle Severity: Low
  • CAPEC-385 Transaction or Event Tampering via Application API Manipulation Severity: Medium
  • CAPEC-386 Application API Navigation Remapping Severity: Medium
  • CAPEC-387 Navigation Remapping To Propagate Malicious Content Severity: Medium
  • CAPEC-388 Application API Button Hijacking Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON