CVE-2021-22931
Fixed in a distro release EPSS 22%
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.
Products: NodeJS Node
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | nodejs | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 |
| AlmaLinux 8 | nodejs | 1:12.22.5-1.module_el8.5.0+85+79a7b441 |
| AlmaLinux 8 | nodejs-devel | 1:12.22.5-1.module_el8.5.0+85+79a7b441 |
| AlmaLinux 8 | nodejs-devel | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 |
| AlmaLinux 8 | nodejs-docs | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 |
| AlmaLinux 8 | nodejs-full-i18n | 1:12.22.5-1.module_el8.5.0+85+79a7b441 |
| AlmaLinux 8 | nodejs-full-i18n | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 |
| AlmaLinux 8 | nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f |
| AlmaLinux 8 | nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e |
| AlmaLinux 8 | nodejs-packaging | 17-3.module_el8.4.0+2521+c668cc9f |
| AlmaLinux 8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 |
| AlmaLinux 8 | nodejs-packaging | 23-3.module_el8.5.0+254+b4526b16 |
| AlmaLinux 8 | nodejs-packaging | 23-3.module_el8.4.0+2522+3bd42762 |
| AlmaLinux 8 | npm | 1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7 |
| AlmaLinux 8 | npm | 1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441 |
| Alpine 3.11 | nodejs | 12.22.5-r0 |
| Alpine 3.12 | nodejs | 12.22.5-r0 |
| Alpine 3.13 | nodejs | 14.17.5-r0 |
| Alpine 3.14 | nodejs | 14.17.5-r0 |
| Alpine 3.15 | nodejs | 14.17.5-r0 |
| Alpine 3.16 | nodejs | 14.17.5-r0 |
| Alpine 3.17 | nodejs | 14.17.5-r0 |
| Alpine 3.18 | nodejs | 14.17.5-r0 |
| Alpine 3.19 | nodejs | 14.17.5-r0 |
| Alpine 3.20 | nodejs | 14.17.5-r0 |
| Alpine 3.21 | nodejs | 14.17.5-r0 |
| Alpine 3.22 | nodejs | 14.17.5-r0 |
| Alpine 3.23 | nodejs | 14.17.5-r0 |
| Alpine 3.24 | nodejs | 14.17.5-r0 |
| Red Hat Enterprise Linux 8 | nodejs | 1:12.22.5-1.module+el8.4.0+12242+af52a4c7 |
| Red Hat Enterprise Linux 8 | nodejs | 1:14.17.5-1.module+el8.4.0+12247+e2879e58 |
| Red Hat Enterprise Linux 8 | nodejs-debuginfo | 1:14.17.5-1.module+el8.4.0+12247+e2879e58 |
| Red Hat Enterprise Linux 8 | nodejs-debuginfo | 1:12.22.5-1.module+el8.4.0+12242+af52a4c7 |
| Red Hat Enterprise Linux 8 | nodejs-debugsource | 1:14.17.5-1.module+el8.4.0+12247+e2879e58 |
| Red Hat Enterprise Linux 8 | nodejs-debugsource | 1:12.22.5-1.module+el8.4.0+12242+af52a4c7 |
| Red Hat Enterprise Linux 8 | nodejs-devel | 1:14.17.5-1.module+el8.4.0+12247+e2879e58 |
| Red Hat Enterprise Linux 8 | nodejs-devel | 1:12.22.5-1.module+el8.4.0+12242+af52a4c7 |
| Red Hat Enterprise Linux 8 | nodejs-docs | 1:14.17.5-1.module+el8.4.0+12247+e2879e58 |
| Red Hat Enterprise Linux 8 | nodejs-docs | 1:12.22.5-1.module+el8.4.0+12242+af52a4c7 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | 1:12.22.5-1.module+el8.4.0+12242+af52a4c7 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | 1:14.17.5-1.module+el8.4.0+12247+e2879e58 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | 0:2.0.3-1.module+el8.3.0+6519+9f98ed83 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | 0:2.0.3-1.module+el8.4.0+11732+c668cc9f |
| Red Hat Enterprise Linux 8 | nodejs-packaging | 0:23-3.module+el8.3.0+6519+9f98ed83 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | 0:17-3.module+el8.1.0+3369+37ae6a45 |
| Red Hat Enterprise Linux 8 | npm | 1:6.14.14-1.14.17.5.1.module+el8.4.0+12247+e2879e58 |
| Red Hat Enterprise Linux 8 | npm | 1:6.14.14-1.12.22.5.1.module+el8.4.0+12242+af52a4c7 |
| Red Hat rhel eus 8.1 | nodejs | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec |
| Red Hat rhel eus 8.1 | nodejs-debuginfo | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec |
| Red Hat rhel eus 8.1 | nodejs-debugsource | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec |
| Red Hat rhel eus 8.1 | nodejs-devel | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec |
| Red Hat rhel eus 8.1 | nodejs-docs | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec |
| Red Hat rhel eus 8.1 | nodejs-full-i18n | 1:12.22.5-1.module+el8.1.0+12238+63fe3aec |
| Red Hat rhel eus 8.1 | nodejs-nodemon | 0:1.18.3-1.module+el8.1.0+3369+37ae6a45 |
| Red Hat rhel eus 8.1 | nodejs-packaging | 0:17-3.module+el8.1.0+3369+37ae6a45 |
| Red Hat rhel eus 8.1 | npm | 1:6.14.14-1.12.22.5.1.module+el8.1.0+12238+63fe3aec |
| Red Hat rhel eus 8.2 | nodejs | 1:12.22.5-1.module+el8.2.0+12241+a3db445b |
| Red Hat rhel eus 8.2 | nodejs-debuginfo | 1:12.22.5-1.module+el8.2.0+12241+a3db445b |
| Red Hat rhel eus 8.2 | nodejs-debugsource | 1:12.22.5-1.module+el8.2.0+12241+a3db445b |
| Red Hat rhel eus 8.2 | nodejs-devel | 1:12.22.5-1.module+el8.2.0+12241+a3db445b |
| Red Hat rhel eus 8.2 | nodejs-docs | 1:12.22.5-1.module+el8.2.0+12241+a3db445b |
| Red Hat rhel eus 8.2 | nodejs-full-i18n | 1:12.22.5-1.module+el8.2.0+12241+a3db445b |
| Red Hat rhel eus 8.2 | nodejs-nodemon | 0:1.18.3-1.module+el8.1.0+3369+37ae6a45 |
| Red Hat rhel eus 8.2 | nodejs-packaging | 0:17-3.module+el8.1.0+3369+37ae6a45 |
| Red Hat rhel eus 8.2 | npm | 1:6.14.14-1.12.22.5.1.module+el8.2.0+12241+a3db445b |
| Red Hat rhel software collections 3 | rh-nodejs12-nodejs | 0:12.22.5-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs12-nodejs-debuginfo | 0:12.22.5-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs12-nodejs-devel | 0:12.22.5-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs12-nodejs-docs | 0:12.22.5-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs12-nodejs-nodemon | 0:2.0.3-5.el7 |
| Red Hat rhel software collections 3 | rh-nodejs12-npm | 0:6.14.14-12.22.5.1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-nodejs | 0:14.17.5-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-nodejs-debuginfo | 0:14.17.5-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-nodejs-devel | 0:14.17.5-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-nodejs-docs | 0:14.17.5-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-nodejs-nodemon | 0:2.0.3-5.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-npm | 0:6.14.14-14.17.5.1.el7 |
| Rocky Linux 8 | nodejs | 1:14.17.5-1.module+el8.4.0+654+17ff1d38 |
| Rocky Linux 8 | nodejs | 1:12.22.5-1.module+el8.4.0+647+e905fa21 |
| Rocky Linux 8 | nodejs-nodemon | 0:2.0.3-1.module+el8.4.0+638+5344c6f7 |
| Rocky Linux 8 | nodejs-nodemon | 0:2.0.3-1.module+el8.3.0+100+234774f7 |
| Rocky Linux 8 | nodejs-nodemon | 0:2.0.3-1.module+el8.6.0+982+9fdca2d4 |
| Rocky Linux 8 | nodejs-packaging | 0:17-3.module+el8.3.0+101+f84c7154 |
| Rocky Linux 8 | nodejs-packaging | 0:23-3.module+el8.5.0+733+de4fee6c |
| Rocky Linux 8 | nodejs-packaging | 0:23-3.module+el8.7.0+1071+4bdda2a8 |
| Rocky Linux 8 | nodejs-packaging | 0:23-3.module+el8.3.0+100+234774f7 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | nodejs10 | 10.24.1-1.42.2 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | nodejs12 | 12.22.5-1.35.1 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | nodejs14 | 14.17.5-6.15.3 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP2 | nodejs10 | 10.24.1-1.39.2 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP2 | nodejs12 | 12.22.5-4.19.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP2 | nodejs14 | 14.17.5-5.15.5 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP3 | nodejs12 | 12.22.5-4.19.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP3 | nodejs14 | 14.17.5-5.15.5 |
| Ubuntu 20.04 LTS | nodejs | 10.19.0~dfsg-3ubuntu1.1 |
| Ubuntu 22.04 LTS | nodejs | 12.22.9~dfsg-1ubuntu3 |
| Ubuntu Pro 14.04 LTS | nodejs | 0.10.25~dfsg2-2ubuntu1.2+esm1 |
| Ubuntu Pro 16.04 LTS | nodejs | 4.2.6~dfsg-1ubuntu4.2+esm2 |
| Ubuntu Pro 18.04 LTS | nodejs | 8.10.0~dfsg-2ubuntu0.4+esm2 |
| openSUSE Leap 15.2 | nodejs10 | 10.24.1-lp152.2.18.1 |
| openSUSE Leap 15.2 | nodejs12 | 12.22.5-lp152.3.18.1 |
| openSUSE Leap 15.2 | nodejs14 | 14.17.5-lp152.14.1 |
| openSUSE Leap 15.3 | nodejs10 | 10.24.1-1.39.2 |
| openSUSE Leap 15.3 | nodejs12 | 12.22.5-4.19.1 |
| openSUSE Leap 15.3 | nodejs14 | 14.17.5-5.15.5 |