CVEfocus › CVE database › CVE-2021-44531

CVE-2021-44531

EPSS 8.4% (higher than 96% of CVEs)Published 2022-02-24Updated 2025-04-30Assigner: hackerone

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.

CWE-295

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

53Fixed
1Fix pending
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 16.04nodejsFix pending
Debian 14nodejsFixed12.22.9~dfsg-1DEBIAN-CVE-2021-44531
Debian 13nodejsFixed12.22.9~dfsg-1DEBIAN-CVE-2021-44531
Debian 12nodejsFixed12.22.9~dfsg-1DEBIAN-CVE-2021-44531
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Enterprise Linux 9nodejs-docsNot affected
Red Hat Enterprise Linux 9nodejs-full-i18nNot affected
Red Hat Enterprise Linux 9nodejs-libsNot affected
Red Hat Enterprise Linux 9npmNot affected
Red Hat Enterprise Linux 8nodejsFixed1:14.20.1-2.module+el8.7.0+16991+b0a68a3eRHEA-2022:5139
Red Hat Enterprise Linux 8nodejs-develFixed1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHEA-2022:5139
Red Hat Enterprise Linux 8nodejs-docsFixed1:14.20.1-2.module+el8.7.0+16991+b0a68a3eRHSA-2022:9073
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHSA-2022:7830
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:2.0.3-1.module+el8.4.0+11732+c668cc9fRHSA-2022:7830
Red Hat Enterprise Linux 8nodejs-packagingFixed0:17-3.module+el8.1.0+3369+37ae6a45RHSA-2022:7830
Red Hat Enterprise Linux 8npmFixed1:6.14.17-1.14.20.1.2.module+el8.7.0+16991+b0a68a3eRHSA-2022:9073
AlmaLinux 8nodejsFixed1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:7830
AlmaLinux 8nodejs-develFixed1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:7830
AlmaLinux 8nodejs-docsFixed1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:7830
AlmaLinux 8nodejs-full-i18nFixed1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:7830
AlmaLinux 8nodejs-nodemonFixed2.0.20-2.module_el8.7.0+3371+ed8c43dbALSA-2022:7830
AlmaLinux 8nodejs-packagingFixed25-1.module_el8.5.0+2605+45d748afALSA-2022:7830
AlmaLinux 8npmFixed1:8.19.2-1.16.18.1.3.module_el8.7.0+3371+ed8c43dbALSA-2022:7830
Rocky Linux 8nodejsFixed1:16.18.1-3.module+el8.7.0+1108+49363b0dRLSA-2022:7830
Rocky Linux 8nodejs-nodemonFixed0:2.0.20-2.module+el8.7.0+1108+49363b0dRLSA-2022:7830
Rocky Linux 8nodejs-packagingFixed0:23-3.module+el8.5.0+733+de4fee6cRLSA-2022:7830
Alpine Linux 3.24nodejsFixed16.13.2-r0ALPINE-CVE-2021-44531
Alpine Linux 3.24nodejs-currentFixed17.3.1-r0ALPINE-CVE-2021-44531
Alpine Linux 3.24openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2021-44531
Alpine Linux 3.23nodejsFixed16.13.2-r0ALPINE-CVE-2021-44531
Alpine Linux 3.23nodejs-currentFixed17.3.1-r0ALPINE-CVE-2021-44531
Alpine Linux 3.23openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2021-44531
Alpine Linux 3.22nodejsFixed16.13.2-r0ALPINE-CVE-2021-44531
Alpine Linux 3.22nodejs-currentFixed17.3.1-r0ALPINE-CVE-2021-44531
Alpine Linux 3.22openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2021-44531
Alpine Linux 3.21nodejsFixed16.13.2-r0ALPINE-CVE-2021-44531
Alpine Linux 3.21nodejs-currentFixed17.3.1-r0ALPINE-CVE-2021-44531
Alpine Linux 3.21openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2021-44531
Alpine Linux 3.20nodejsFixed16.13.2-r0ALPINE-CVE-2021-44531
Alpine Linux 3.20nodejs-currentFixed17.3.1-r0ALPINE-CVE-2021-44531
Alpine Linux 3.20openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2021-44531
Alpine Linux 3.19nodejsFixed16.13.2-r0ALPINE-CVE-2021-44531
Alpine Linux 3.19nodejs-currentFixed17.3.1-r0ALPINE-CVE-2021-44531
Alpine Linux 3.19openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2021-44531
Alpine Linux 3.18nodejsFixed16.13.2-r0ALPINE-CVE-2021-44531
Alpine Linux 3.18nodejs-currentFixed17.3.1-r0ALPINE-CVE-2021-44531
Alpine Linux 3.18openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2021-44531
Alpine Linux 3.17nodejsFixed16.13.2-r0ALPINE-CVE-2021-44531
Alpine Linux 3.17nodejs-currentFixed17.3.1-r0ALPINE-CVE-2021-44531
Alpine Linux 3.17openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2021-44531
Alpine Linux 3.16nodejsFixed16.13.2-r0ALPINE-CVE-2021-44531
Alpine Linux 3.16nodejs-currentFixed17.3.1-r0ALPINE-CVE-2021-44531
Alpine Linux 3.16openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2021-44531
Alpine Linux 3.15nodejsFixed16.13.2-r0ALPINE-CVE-2021-44531
Alpine Linux 3.15nodejs-currentFixed17.3.1-r0ALPINE-CVE-2021-44531
Alpine Linux 3.15openjdk11Fixed11.0.15_p10-r0ALPINE-CVE-2021-44531
Alpine Linux 3.14nodejsFixed14.19.0-r0ALPINE-CVE-2021-44531
Alpine Linux 3.13nodejsFixed14.19.0-r0ALPINE-CVE-2021-44531
Alpine Linux 3.12nodejsFixed12.22.10-r0ALPINE-CVE-2021-44531

What the vendor says

As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.