CVE-2021-44531
JSON

7.4high

Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in…

Severity
7.4high CVSS:3.1 by NVD
Exploit likelihood
8.37% (higher than 95% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2021-44531BIT-NODE-MIN-2021-44531

Description

Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in bypassing name-constrained intermediates. Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 was accepting URI SAN types, which PKIs are often not defined to use. Additionally, when a protocol allows URI SANs, Node.js did not match the URI correctly.Versions of Node.js with the fix for this disable the URI SAN type when checking a certificate against a hostname. This behavior can be reverted through the --security-revert command-line option.

Affected

Product or packageVersionsReported by
NodeJS Nodefrom 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 6 moreCVE List
nodejs node.jsbefore 12.22.9, from 14.0.0 before 14.18.3, from 16.0.0 before 16.13.2, from 17.0.0 before 17.3.1NVD
oracle graalvm20.3.5, 21.3.1, 22.0.0.2NVD
oracle mysql_connectorsup to 8.0.28NVD
oracle mysql_enterprise_monitorup to 8.0.29NVD
oracle mysql_serverup to 5.7.37, from 8.0.0 up to 8.0.28NVD
oracle mysql_workbenchup to 8.0.28NVD
oracle peoplesoft_enterprise_peopletools8.58, 8.59NVD
oracle mysql_clusterup to 8.0.29NVD
node (Bitnami)before 12.22.9, from 14.0.0 before 14.18.3, from 16.0.0 before 16.13.2, from 17.0.0 before 17.3.1Bitnami Vulnerability Database
node-min (Bitnami)before 12.22.9, from 14.0.0 before 14.18.3, from 16.0.0 before 16.13.2, from 17.0.0 before 17.3.1Bitnami Vulnerability Database

All scores

NVD7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD5.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:N
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in bypassing name-constrained intermediates. Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 was accepting URI SAN types, which PKIs are often not defined to use. Additionally, when a protocol allows URI SANs, Node.js did not match the URI correctly.Versions of Node.js with the fix for this disable the URI SAN type when checking a certificate against a hostname. This behavior can be reverted through the --security-revert command-line option.

NVD (es)

Aceptar tipos de nombres alternativos de sujeto (SAN) arbitrarios, a menos que una PKI esté definida específicamente para usar un tipo de SAN concreto, puede resultar en una omisión de los intermediarios con restricción de nombre. Node.js versiones anteriores a 12.22.9, versiones anteriores a 14.18.3, versiones anteriores a 16.13.2 y versiones anteriores a 17.3.1, aceptaba tipos de URI SAN, que las PKI no suelen estar definidas para usar. Además, cuando un protocolo permite URI SANs, Node.js no hacía coincidir el URI correctamente. Las versiones de Node.js con la corrección para esto deshabilitan el tipo URI SAN cuando comprueban un certificado contra un nombre de host. Este comportamiento puede revertirse mediante la opción de línea de comandos --security-revert

References

https://hackerone.com/reports/1429694advisory, issue-tracking, mitigation, patch, third-party-advisory
https://nodejs.org/en/blog/vulnerability/jan-2022-security-releases/advisory, release-notes, vendor-advisory
https://www.oracle.com/security-alerts/cpuapr2022.htmladvisory, patch, third-party-advisory
https://security.netapp.com/advisory/ntap-20220325-0007/advisory, third-party-advisory
https://www.debian.org/security/2022/dsa-5170advisory, third-party-advisory, vendor-advisory
https://www.oracle.com/security-alerts/cpujul2022.htmladvisory, third-party-advisory
https://nvd.nist.gov/vuln/detail/CVE-2021-44531web

Sources

SourceRecordLicence
CVE ListCVE-2021-44531 changed 2025-04-30CVE Terms of Use
NVDCVE-2021-44531 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2021-44531 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2021-44531 changed 2026-09-08Apache-2.0