{"id":"CVE-2022-21824","published":"2022-02-24T00:00:00Z","modified":"2025-04-30T22:24:41Z","title":"Due to the formatting logic of the \"console.table()\" function it was not safe to allow user controlled input to be…","vendor":"NodeJS","product":"Node","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.21514,"percentile":0.97675,"provenance":"source"},"cwes":[{"id":"CWE-471","name":"Modification of Assumed-Immutable Data (MAID)"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/jan-2022-security-releases/","tags":[]},{"url":"https://hackerone.com/reports/1431042","tags":[]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220325-0007/","tags":[]},{"url":"https://www.debian.org/security/2022/dsa-5170","tags":["vendor-advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220729-0004/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00006.html","tags":["mailing-list"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":19.54}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"NodeJS","product":"Node","versions":[">= 4.0, < 4.*",">= 5.0, < 5.*",">= 6.0, < 6.*",">= 7.0, < 7.*",">= 8.0, < 8.*",">= 9.0, < 9.*",">= 10.0, < 10.*",">= 11.0, < 11.*",">= 12.0, < 12.22.9",">= 13.0, < 13.*"]}],"summary":{"text":"The flaw is a prototype pollution issue in Node.js's console.table() function, where user-controlled input passed to its \"properties\" parameter, alongside a plain object as the first argument with at least one property (such as \"__proto__\"), can modify the object prototype. An attacker who can supply that input to the properties parameter can only assign an empty string to numerical keys on the object prototype, which gives very limited control over the resulting pollution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:42:55Z"},"euvd":{"id":"EUVD-2022-26983","exploited":false,"provenance":"source"}}