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 package | Versions | Reported by |
|---|---|---|
| NodeJS Node | from 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 more | CVE List |
| nodejs node.js | 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.1 | NVD |
| oracle graalvm | 20.3.5, 21.3.1, 22.0.0.2 | NVD |
| oracle mysql_connectors | up to 8.0.28 | NVD |
| oracle mysql_enterprise_monitor | up to 8.0.29 | NVD |
| oracle mysql_server | up to 5.7.37, from 8.0.0 up to 8.0.28 | NVD |
| oracle mysql_workbench | up to 8.0.28 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.58, 8.59 | NVD |
| oracle mysql_cluster | up to 8.0.29 | NVD |
| 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.1 | Bitnami 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.1 | Bitnami Vulnerability Database |
All scores
| NVD | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| Bitnami Vulnerability Database | high 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/1429694 | advisory, 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.html | advisory, patch, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20220325-0007/ | advisory, third-party-advisory | |
| https://www.debian.org/security/2022/dsa-5170 | advisory, third-party-advisory, vendor-advisory | |
| https://www.oracle.com/security-alerts/cpujul2022.html | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-44531 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-44531 changed 2025-04-30 | CVE Terms of Use |
| NVD | CVE-2021-44531 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2021-44531 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2021-44531 changed 2026-09-08 | Apache-2.0 |