VDB

CVE-2021-22930

CVE-2021-22930 PUBLISHED

Use After Free in node.js

Reported by hackerone · Published October 7, 2021

Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.

Fixed versions

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

PackageEcosystemFixed in
nodedhi.docker.com16.6.0, 14.17.4, 12.22.4
nodejsArch Linux16.6.0-1
nodejsAlpine14.17.4-r0, 12.22.4-r0
nodejs-currentAlpine16.6.0-r0
node-minBitnami16.6.0, 14.17.4, 12.22.4
nodeBitnami16.6.0, 14.17.4, 12.22.4
node.jsnodejs16.6.0, 14.17.4, 12.22.4
sinec_infrastructure_network_servicessiemens1.0.1.1
nodeDHI16.6.0, 14.17.4, 12.22.4
alpine/nodejs-20alpine16.6.0, 14.17.4, 12.22.4
alpine/nodejs-22alpine16.6.0, 14.17.4, 12.22.4
alpine/nodejs-25alpine16.6.0, 14.17.4, 12.22.4

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

Affected products

VendorProductVersions
NodeJSNode4.0, 5.0, 6.0
archnodejs0
NodeJSNode13.0, 16.0, 8.0
alpinenodejs0, 0
alpinenodejs-current0

Timeline

  • Jul 29, 2021 CVE Published
  • Oct 8, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 8, 2024 PoC Published
  • Mar 10, 2026 Security Advisory (21 in total, the first dated here)
  • Jun 17, 2026 CVE Updated
  • Aug 25, 2026 Coalition ESS Score
  • Sep 1, 2026 Distribution Patch (9 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-22930
vulnetix vdb fixes CVE-2021-22930

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-2021-22930/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 ›