{"id":"CVE-2021-44531","published":"2022-02-24T18:27:00Z","modified":"2025-04-30T22:24:39Z","title":"Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN…","vendor":"NodeJS","product":"Node","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08373,"percentile":0.95097,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://hackerone.com/reports/1429694","tags":["x_refsource_MISC"]},{"url":"https://nodejs.org/en/blog/vulnerability/jan-2022-security-releases/","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220325-0007/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2022/dsa-5170","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":19.02}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"NodeJS","product":"Node","versions":[">= 4.0, < 4.*",">= 5.0, < 5.*",">= 6.0, < 6.*",">= 7.0, < 7.*",">= 8.0, < 8.*",">= 9.0, < 9.*",">= 10.0, < 10.*",">= 11.0, < 11.*",">= 12.0, < 12.22.9",">= 13.0, < 13.*"]}],"summary":{"text":"The flaw is in Node.js's certificate hostname verification, where the Node component accepted URI-type Subject Alternative Names even though many PKIs are not defined to use them, and it also failed to match URIs correctly when a protocol permits them. An attacker who holds a certificate issued under a name-constrained intermediate can exploit this to bypass those constraints, with the affected range covering Node.js versions before 12.22.9, 14.18.3, 16.13.2 and 17.3.1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:54:55Z"},"euvd":{"id":"EUVD-2021-31362","exploited":false,"provenance":"source"}}