Vulnerability · Published Feb 24, 2022 · Assigned by hackerone

CVE-2021-44533

Medium 5.3

In plain English

A medium-severity improper certificate validation in Node from NodeJS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 9.4% (higher than 95% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)9.4%top 4.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 did not handle multi-value Relative Distinguished Names correctly. Attackers could craft certificate subjects containing a single-value Relative Distinguished Name that would be interpreted as a multi-value Relative Distinguished Name, for example, in order to inject a Common Name that would allow bypassing the certificate subject verification.Affected versions of Node.js that do not accept multi-value Relative Distinguished Names and are thus not vulnerable to such attacks themselves. However, third-party code that uses node's ambiguous presentation of certificate subjects may be vulnerable.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:14.20.1-2.module_el8.7.0+3342+b2df8497ALSA-2022:7830
AlmaLinux:8nodejs1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux:8nodejs-devel1:14.20.1-2.module_el8.7.0+3342+b2df8497ALSA-2022:7830
AlmaLinux:8nodejs-devel1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux:8nodejs-docs1:14.20.1-2.module_el8.7.0+3342+b2df8497ALSA-2022:7830
AlmaLinux:8nodejs-docs1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux:8nodejs-full-i18n1:14.20.1-2.module_el8.7.0+3342+b2df8497ALSA-2022:7830
AlmaLinux:8nodejs-full-i18n1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux:8nodejs-nodemon2.0.20-2.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux:8nodejs-nodemon2.0.19-2.module_el8.6.0+3261+490666b3ALSA-2022:7830
AlmaLinux:8nodejs-packaging25-1.module_el8.5.0+2605+45d748afALSA-2022:9073
AlmaLinux:8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2022:7830
AlmaLinux:8npm1:6.14.17-1.14.20.1.2.module_el8.7.0+3342+b2df8497ALSA-2022:7830
AlmaLinux:8npm1:8.19.2-1.16.18.1.3.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
Alpine:v3.20nodejs16.13.2-r0ALPINE-CVE-2021-44533
Alpine:v3.21nodejs16.13.2-r0ALPINE-CVE-2021-44533
Alpine:v3.22nodejs16.13.2-r0ALPINE-CVE-2021-44533
Alpine:v3.23nodejs16.13.2-r0ALPINE-CVE-2021-44533
Alpine:v3.24nodejs16.13.2-r0ALPINE-CVE-2021-44533
Alpine:v3.20nodejs-current17.3.1-r0ALPINE-CVE-2021-44533
Alpine:v3.21nodejs-current17.3.1-r0ALPINE-CVE-2021-44533
Alpine:v3.22nodejs-current17.3.1-r0ALPINE-CVE-2021-44533
Alpine:v3.23nodejs-current17.3.1-r0ALPINE-CVE-2021-44533
Alpine:v3.24nodejs-current17.3.1-r0ALPINE-CVE-2021-44533
Alpine:v3.20openjdk1111.0.15_p10-r0ALPINE-CVE-2021-44533
Alpine:v3.21openjdk1111.0.15_p10-r0ALPINE-CVE-2021-44533
Alpine:v3.22openjdk1111.0.15_p10-r0ALPINE-CVE-2021-44533
Alpine:v3.23openjdk1111.0.15_p10-r0ALPINE-CVE-2021-44533
Alpine:v3.24openjdk1111.0.15_p10-r0ALPINE-CVE-2021-44533
Debian:12nodejs12.22.9~dfsg-1DEBIAN-CVE-2021-44533
Debian:13nodejs12.22.9~dfsg-1DEBIAN-CVE-2021-44533
Debian:14nodejs12.22.9~dfsg-1DEBIAN-CVE-2021-44533
Rocky Linux:8nodejs1:16.18.1-3.module+el8.7.0+1108+49363b0dRLSA-2022:9073
Rocky Linux:8nodejs1:14.20.1-2.module+el8.7.0+1071+4bdda2a8RLSA-2022:7830
Rocky Linux:8nodejs-nodemon0:2.0.19-2.module+el8.6.0+1003+ae94235aRLSA-2022:7830
Rocky Linux:8nodejs-nodemon0:2.0.20-2.module+el8.7.0+1108+49363b0dRLSA-2022:9073
Rocky Linux:8nodejs-nodemon0:2.0.19-2.module+el8.6.0+1046+80feca58RLSA-2022:7830
Rocky Linux:8nodejs-packaging0:25-1.module+el8.5.0+702+221f14e6RLSA-2022:9073
Rocky Linux:8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2022:7830
Rocky Linux:8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2022:7830
Rocky Linux:8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2022:7830
Rocky Linux:8nodejs-packaging0:25-1.module+el8.6.0+1046+80feca58RLSA-2022:9073

Affected products (as reported)

VendorProductVersions
NodeJS Node 4.0 – before 4.*5.0 – before 5.*6.0 – before 6.*7.0 – before 7.*8.0 – before 8.*9.0 – before 9.*10.0 – before 10.*11.0 – before 11.*

Weakness: CWE-295

References