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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-5170-1 nodejs security update
EUVD EUVD EUVD-2021-31363 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2025-04-30T22:24:39.850Z

Reserved: 2021-12-02T00:00:00

Link: CVE-2021-44532

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-02-24T19:15:09.360

Modified: 2024-11-21T06:31:10.750

Link: CVE-2021-44532

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-01-10T00:00:00Z

Links: CVE-2021-44532 - Bugzilla

cve-icon OpenCVE Enrichment

No data.