CVE-2022-21824

State
Published
Severity
Not scored
Published
Feb 24, 2022
Updated
Apr 30, 2025
Reserved
Dec 10, 2021

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-471 Modification of Assumed-Immutable Data (MAID) (CWE-471)

Affected Products

ProductVersions
NodeNodeJS
  • 4.0 to before 4.*Affected
  • 5.0 to before 5.*Affected
  • 6.0 to before 6.*Affected
  • 7.0 to before 7.*Affected
  • 8.0 to before 8.*Affected
  • 9.0 to before 9.*Affected
  • 10.0 to before 10.*Affected
  • 11.0 to before 11.*Affected
  • 12.0 to before 12.22.9Affected
  • 13.0 to before 13.*Affected
  • 14.0 to before 14.18.3Affected
  • 15.0 to before 15.*Affected
  • 16.0 to before 16.13.2Affected
  • 17.0 to before 17.3.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.