CVE-2021-44532 Security feature bypass in Node
Attackers can bypass certificate name constraints in Node.js by exploiting a SAN injection vulnerability when name constraints are enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-44532?
CVE-2021-44532 is a medium-severity vulnerability in Debian Debian Linux, published on 24 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2021-44532?
2 open source packages ship an affected version, including node and node-min. It affects 9 products.
| Package | Affected | Fixed in |
|---|---|---|
node Bitnami | All versions | 12.22.9, 14.18.3, 16.13.2, 17.3.1 |
node-min Bitnami | All versions | 12.22.9, 14.18.3, 16.13.2, 17.3.1 |
Products include Debian Debian Linux, Nodejs Node.js, Oracle Graalvm, Oracle Mysql Cluster, Oracle Mysql Connectors, Oracle Mysql Enterprise Monitor and 3 more.
How do I fix CVE-2021-44532?
Upgrade node to a fixed version for your release line: 12.22.9, 14.18.3, 16.13.2 or 17.3.1.
Is CVE-2021-44532 being exploited?
There is no known exploitation of CVE-2021-44532 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2021-44532, AZL-8818, BIT-node-2021-44532, BIT-node-min-2021-44532, CLEANSTART-2026-AX13608, CLEANSTART-2026-GQ73643 and 4 more.