CVE-2022-21824

published 24 Feb 2022 · updated 30 Apr 2025

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.

8.7HighCVSS 8.2EPSS 22%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 22%. Fixed in 10.*, 11.*, 12.22.9 and 11 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nodejs>=10.0 <10.*, >=11.0 <11.*, >=12.0 <12.22.9, >=13.0 <13.*, >=14.0 <14.18.3, >=15.0 <15.*, >=16.0 <16.13.2, >=17.0 <17.3.1, >=4.0 <4.*, >=5.0 <5.*, >=6.0 <6.*, >=7.0 <7.*, >=8.0 <8.*, >=9.0 <9.*10.*, 11.*, 12.22.9, 13.*, 14.18.3, 15.*, 16.13.2, 17.3.1, 4.*, 5.*, 6.*, 7.*, 8.*, 9.*

Timeline

Every event on this vulnerability

Severity changedCVE-2022-21824·
8.7High

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-21824 severity on Zeptric[![CVE-2022-21824](https://zeptric.io/badge/cve/CVE-2022-21824.svg)](https://zeptric.io/cve/CVE-2022-21824)