PT-2021-6094 · Node.Js+7 · Node.Js+7

Published

2020-01-24

·

Updated

2026-05-18

·

CVE-2021-44531

CVSS v3.1

7.4

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Node.js versions prior to 12.22.9 Node.js versions prior to 14.18.3 Node.js versions prior to 16.13.2 Node.js versions prior to 17.3.1
Description The issue is related to the implementation of Subject Alternative Names in the Node.js platform, specifically with errors in the certificate authentication procedure. This can allow a remote attacker to conduct spoofing attacks by bypassing name-constrained intermediates. The problem arises from accepting arbitrary Subject Alternative Name types, including URI SAN types, which are not typically defined for use by Public Key Infrastructures. When protocols allow URI SANs, Node.js did not correctly match the URI, leading to potential security bypasses.
Recommendations For Node.js versions prior to 12.22.9, update to version 12.22.9 or later to disable the URI SAN type when checking a certificate against a hostname. For Node.js versions prior to 14.18.3, update to version 14.18.3 or later to disable the URI SAN type when checking a certificate against a hostname. For Node.js versions prior to 16.13.2, update to version 16.13.2 or later to disable the URI SAN type when checking a certificate against a hostname. For Node.js versions prior to 17.3.1, update to version 17.3.1 or later to disable the URI SAN type when checking a certificate against a hostname. As a temporary workaround, consider using the --security-revert command-line option to revert the behavior of disabling the URI SAN type, but be aware that this may reintroduce the security risk.

Fix

Prototype Pollution

Improper Certificate Validation

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

ALSA-2022:7830
ALSA-2022:9073
ALT-PU-2020-1090
ALT-PU-2022-1760
ALT-PU-2022-1799
ALT-PU-2022-2156
ALT-PU-2022-2171
ALT-PU-2022-3073
ALT-PU-2023-1461
ALT-PU-2023-1912
AZL-8840
BDU:2022-00751
BDU:2022-00758
BDU:2022-00759
BDU:2022-00760
BIT-NODE-2021-44531
BIT-NODE-MIN-2021-44531
CESA-2022_7830
CESA-2022_9073
CLEANSTART-2026-BD71263
CLEANSTART-2026-IS74202
CLEANSTART-2026-JR35772
CLEANSTART-2026-JY06700
CLEANSTART-2026-KN34553
CLEANSTART-2026-KZ45320
CLEANSTART-2026-LJ44720
CLEANSTART-2026-LN12820
CLEANSTART-2026-TX00223
CLEANSTART-2026-WI75198
CVE-2021-44531
DSA-5170-1
MGASA-2022-0077
OESA-2022-1620
OPENSUSE-SU-2022:0112-1
OPENSUSE-SU-2022:0113-1
OPENSUSE-SU-2022_0112-1
OPENSUSE-SU-2022_0113-1
OPENSUSE-SU-2024:11730-1
OPENSUSE-SU-2024:11746-1
RHSA-2022:4914
RHSA-2022:7044
RHSA-2022:7830
RHSA-2022:9073
RHSA-2022_7830
RHSA-2022_9073
RHSA-2023:1742
RLSA-2022:7830
RLSA-2022:9073
SUSE-SU-2022:0101-1
SUSE-SU-2022:0112-1
SUSE-SU-2022:0113-1
SUSE-SU-2022:0114-1
SUSE-SU-2022_0112-1
SUSE-SU-2022_0113-1
SUSE-SU-2022_0114-1

Affected Products

Alt Linux
Almalinux
Centos
Node.Js
Red Hat
Red Os
Rocky Linux
Suse