Skip to content
Not rated

CVE-2022-21824 Due to the formatting logic of the "console.table()" function it was not safe to allow user controlled input to be…

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.

Affected products and versions

Product Affected versions Fixed in
Node 17.0 17.0 → < 17.3.1 17.3.1
Node 16.0 16.0 → < 16.13.2 16.13.2
Node 15.0 15.0 → latest No fix stated
Node 14.0 14.0 → < 14.18.3 14.18.3
Node 13.0 13.0 → latest No fix stated
Node 12.0 12.0 → < 12.22.9 12.22.9
Node 11.0 11.0 → latest No fix stated
Node 10.0 10.0 → latest No fix stated
Node 9.0 9.0 → latest No fix stated
Show the 5 other branches
Product Affected versions Fixed in
Node 8.0 8.0 → latest No fix stated
Node 7.0 7.0 → latest No fix stated
Node 6.0 6.0 → latest No fix stated
Node 5.0 5.0 → latest No fix stated
Node 4.0 4.0 → latest No fix stated
The 129 CVEs of Node →
Track this CVE