VDB

CVE-2021-44532

CVE-2021-44532 PUBLISHED

Reported by hackerone · Published February 24, 2022

Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 converts SANs (Subject Alternative Names) to a string format. It uses this string to check peer certificates against hostnames when validating connections. The string format was subject to an injection vulnerability when name constraints were used within a certificate chain, allowing the bypass of these name constraints.Versions of Node.js with the fix for this escape SANs containing the problematic characters in order to prevent the injection. This behavior can be reverted through the --security-revert command-line option.

Fixed versions

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

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

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

Affected products

VendorProductVersions
NodeJSNode4.0, 5.0, 6.0
amazon:2023npm0
amazon:2023nodejs-docs0
amazon:2023nodejs0
amazon:2023nodejs-libs0
alpineopenjdk110
amazon:2023v8-devel0
NodeJSNode13.0, 14.0, 15.0
amazon:2023nodejs-devel0
alpinenodejs0, 0, 0
amazon:2023nodejs-full-i18n0
alpinenodejs-current0

Timeline

  • Feb 10, 2022 PoC Published
  • Feb 24, 2022 CVE Published
  • Feb 25, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Distribution Patch (50 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (55 in total, the first dated here)
  • Jul 16, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-44532
vulnetix vdb fixes CVE-2021-44532

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-44532/fixes/registry"

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

References

  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_CONFIRM
  • DSA-5170 vendor-advisoryx_refsource_DEBIAN
  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›