VDB

CVE-2021-22939

CVE-2021-22939 PUBLISHED

Reported by hackerone · Published August 16, 2021

If the Node.js https API was used incorrectly and "undefined" was in passed for the "rejectUnauthorized" parameter, no error was returned and connections to servers with an expired certificate would have been accepted.

Fixed versions

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

PackageEcosystemFixed in
nodejs-currentAlpine16.11.1-r0, 16.6.2-r0
nodeBitnami16.6.2, 14.17.5, 12.22.5
nodejsAlpine14.17.5-r0, 12.22.5-r0
nodedhi.docker.com16.6.2, 14.17.5, 12.22.5
nodejsArch Linux16.6.2-1
node-minBitnami16.6.2, 14.17.5, 12.22.5
jd_edwards_enterpriseone_toolsoracle9.2.6.1
alpine/nodejs-24alpine16.6.2, 14.17.5, 12.22.5
alpine/nodejs-25alpine16.6.2, 14.17.5, 12.22.5
node.jsnodejs16.6.2, 14.17.5, 12.22.5
nodeBitnami16.6.2, 14.17.5, 12.22.5
NodeNodeJS16.6.2, 14.17.5, 12.22.5

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

Affected products

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

Timeline

  • Aug 16, 2021 CVE Published
  • Aug 17, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 10, 2021 PoC Published (2 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (19 in total, the first dated here)
  • 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-22939
vulnetix vdb fixes CVE-2021-22939

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-22939/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 ›