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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"nodejs:node.js": [
"< 12.22.9",
">= 14.0.0, < 14.18.3",
">= 16.0.0, < 16.13.2",
">= 17.0.0, < 17.3.1"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-44531",
"id": "CVE-2021-44531",
"imported": "2026-12-02T14:45:39.523Z",
"modified": "2026-06-17T04:12:31.650Z",
"published": "2022-02-24T19:15:09.313Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-44531"
},
{
"html_url": "https://github.com/advisories/GHSA-5qpf-4xwh-5775",
"id": "GHSA-5qpf-4xwh-5775",
"imported": "2026-12-02T14:47:37.033Z",
"modified": "2023-01-27T05:03:07Z",
"published": "2022-02-25T00:00:58Z",
"url": "https://api.github.com/advisories/GHSA-5qpf-4xwh-5775"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-31362",
"id": "EUVD-2021-31362",
"imported": "2026-12-02T14:45:41.787Z",
"modified": "2025-04-30T22:24:39Z",
"published": "2022-02-24T18:27:00Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2021-31362"
}
]
}