CVE-2021-44532
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| npm | Amazon Linux | 1:8.19.2-1.18.12.1.1.amzn2023.0.2 |
| nodejs-docs | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| nodejs | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| nodejs-libs | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| node | Bitnami | 17.3.1, 16.13.2, 14.18.3, 12.22.9 |
| openjdk11 | Alpine | 11.0.15_p10-r0 |
| v8-devel | Amazon Linux | 2:10.2.154.15-1.18.12.1.1.amzn2023.0.2 |
| nodejs-devel | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| nodejs | Alpine | 16.13.2-r0, 14.19.0-r0, 12.22.10-r0 |
| nodejs-full-i18n | Amazon Linux | 1:18.12.1-1.amzn2023.0.2 |
| node-min | Bitnami | 17.3.1, 16.13.2, 14.18.3, 12.22.9 |
| nodejs-current | Alpine | 17.3.1-r0 |
15 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NodeJS | Node | 4.0, 5.0, 6.0 |
| amazon:2023 | npm | 0 |
| amazon:2023 | nodejs-docs | 0 |
| amazon:2023 | nodejs | 0 |
| amazon:2023 | nodejs-libs | 0 |
| alpine | openjdk11 | 0 |
| amazon:2023 | v8-devel | 0 |
| NodeJS | Node | 13.0, 14.0, 15.0 |
| amazon:2023 | nodejs-devel | 0 |
| alpine | nodejs | 0, 0, 0 |
| amazon:2023 | nodejs-full-i18n | 0 |
| alpine | nodejs-current | 0 |
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