CVE-2022-21824

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.

Affected Software

VendorProductVersion RangeStatus
NodeJSNode4.0 < 4.*affected
NodeJSNode5.0 < 5.*affected
NodeJSNode6.0 < 6.*affected
NodeJSNode7.0 < 7.*affected
NodeJSNode8.0 < 8.*affected
NodeJSNode9.0 < 9.*affected
NodeJSNode10.0 < 10.*affected
NodeJSNode11.0 < 11.*affected
NodeJSNode12.0 < 12.22.9affected
NodeJSNode13.0 < 13.*affected
NodeJSNode14.0 < 14.18.3affected
NodeJSNode15.0 < 15.*affected
NodeJSNode16.0 < 16.13.2affected
NodeJSNode17.0 < 17.3.1affected

Weaknesses

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

ADP Enrichment

CVE Program Container

Additional References

References