VDB

CVE-2022-21824

CVE-2022-21824 PUBLISHED CVSS 8.199999809265137 HIGH

Reported by hackerone · Published February 24, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
openjdk11Alpine11.0.15_p10-r0
v8-develAmazon Linux2:10.2.154.15-1.18.12.1.1.amzn2023.0.2
nodeBitnami17.3.1, 16.13.2, 14.18.3, 12.22.9
nodejsAmazon Linux1:18.12.1-1.amzn2023.0.2
nodejs-full-i18nAmazon Linux1:18.12.1-1.amzn2023.0.2
nodejs-currentAlpine17.3.1-r0
nodejs-develAmazon Linux1:18.12.1-1.amzn2023.0.2
node-minBitnami17.3.1, 16.13.2, 14.18.3, 12.22.9
npmAmazon Linux1:8.19.2-1.18.12.1.1.amzn2023.0.2
nodedhi.docker.com17.3.1, 16.13.2, 14.18.3, 12.22.9
nodejs-libsAmazon Linux1:18.12.1-1.amzn2023.0.2
nodejsAlpine16.13.2-r0, 14.19.0-r0, 12.22.10-r0

15 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.199999809265137
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected products

VendorProductVersions
NodeJSNode4.0, 5.0, 6.0
alpineopenjdk110
amazon:2023v8-devel0
NodeJSNode16.0, 15.0, 14.0
amazon:2023nodejs0
NodeJSNode.js
amazon:2023nodejs-full-i18n0
alpinenodejs-current0
amazon:2023nodejs-devel0
Mavenmysql-connector-java0
amazon:2023npm0
amazon:2023nodejs-libs0
alpinenodejs0, 0, 0
PyPImysql-connector-python0
amazon:2023nodejs-docs0

Timeline

  • Jan 11, 2022 PoC Published
  • Feb 24, 2022 CVE Published
  • Feb 25, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (62 in total, the first dated here)
  • Jul 7, 2026 Coalition ESS Score
  • Nov 2, 2026 Distribution Patch (57 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-21824
vulnetix vdb fixes CVE-2022-21824

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-21824/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›