CVE-2021-22931

Node.js 14 and 2 others: Improper Null Termination (CWE-170)

CVE-2021-22931 is fixed in 10 products on 2 platforms, first by Node.js 12 12.22.5, released August 11, 2021. It is not reported as exploited. Patch Radar priority: High.

HighFixed on 2 platforms
CVSS
9.8
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.2195
97th percentile

Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.

Where it's fixed

ProductFixed inFixReleased
Windows apps
Node.js 12 12.22.5 Node.js 12 12.22.5 Aug 11, 2021
Node.js 14 14.17.5 Node.js 14 14.17.5 Aug 11, 2021
Node.js 16 16.6.2 Node.js 16 16.6.2 Aug 11, 2021
Linux
nodejs · RHEL 8 1:14.17.5-1.module+el8.4.0+12247+e2879e58 RHSA-2021:3666 Sep 27, 2021
nodejs · ol 8 1:14.17.5-1.module+el8.4.0+20313+f90c2973 ELSA-2021-3666 Sep 27, 2021
nodejs-devel · RHEL 8 1:14.17.5-1.module+el8.4.0+12247+e2879e58 RHSA-2021:3666 Sep 27, 2021
nodejs-devel · ol 8 1:14.17.5-1.module+el8.4.0+20313+f90c2973 ELSA-2021-3666 Sep 27, 2021
nodejs-docs · RHEL 8 1:14.17.5-1.module+el8.4.0+12247+e2879e58 RHSA-2021:3666 Sep 27, 2021
nodejs-docs · ol 8 1:14.17.5-1.module+el8.4.0+20313+f90c2973 ELSA-2021-3666 Sep 27, 2021
nodejs-full-i18n · RHEL 8 1:14.17.5-1.module+el8.4.0+12247+e2879e58 RHSA-2021:3666 Sep 27, 2021
nodejs-full-i18n · ol 8 1:14.17.5-1.module+el8.4.0+20313+f90c2973 ELSA-2021-3666 Sep 27, 2021
nodejs-nodemon · RHEL 8 0:2.0.3-1.module+el8.3.0+6519+9f98ed83 RHSA-2021:3666 Sep 27, 2021
nodejs-nodemon · ol 8 0:2.0.3-1.module+el8.3.0+7818+6cd30d85 ELSA-2021-3666 Sep 27, 2021
nodejs-packaging · RHEL 8 0:23-3.module+el8.3.0+6519+9f98ed83 RHSA-2021:3666 Sep 27, 2021
nodejs-packaging · ol 8 0:23-3.module+el8.3.0+7818+6cd30d85 ELSA-2021-3666 Sep 27, 2021
npm · RHEL 8 1:6.14.14-1.14.17.5.1.module+el8.4.0+12247+e2879e58 RHSA-2021:3666 Sep 27, 2021
npm · ol 8 1:6.14.14-1.14.17.5.1.module+el8.4.0+20313+f90c2973 ELSA-2021-3666 Sep 27, 2021

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.