Skip to main content
← All vulnerabilities
CVE-2022-21824

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 12.22.9, 14.18.3, 16.13.2, 17.3.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • NodeJS Node

    From 4.0; From 5.0; From 6.0; From 7.0; From 8.0; From 9.0; From 10.0; From 11.0; From 12.0 · fixed in 12.22.9; From 13.0; From 14.0 · fixed in 14.18.3; From 15.0; From 16.0 · fixed in 16.13.2; From 17.0 · fixed in 17.3.1

References 8

nodejs.org

hackerone.com

oracle.com

security.netapp.com

debian.org

lists.debian.org