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" paramete...
Original description
The description as published by the source.
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 packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2022-21824 nodejs Fixed in: 12.22.10-r0
- Debian DEBIAN-CVE-2022-21824 nodejs Fixed in: 12.22.12~dfsg-1~deb11u1
References
- advisory security.netapp.com
- advisory security.netapp.com
- advisory debian.org
- advisory nvd.nist.gov
- advisory github.com
- web hackerone.com
- web lists.debian.org
- web nodejs.org
- web oracle.com
- web oracle.com