CVE-2021-22884
Fixed in a distro release EPSS 37%
Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to DNS rebinding attacks as the whitelist includes “localhost6”. When “localhost6” is not present in /etc/hosts, it is just an ordinary domain that is resolved via DNS, i.e., over network. If the attacker controls the victim's DNS server or can spoof its responses, the DNS rebinding protection can be bypassed by using the “localhost6” domain. As long as the attacker uses the “localhost6” domain, they can still apply the attack described in CVE-2018-7160.
Products: NodeJS Node
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | nodejs | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux 8 | nodejs | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux 8 | nodejs | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux 8 | nodejs-devel | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux 8 | nodejs-devel | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux 8 | nodejs-devel | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux 8 | nodejs-docs | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux 8 | nodejs-full-i18n | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux 8 | nodejs-full-i18n | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux 8 | nodejs-full-i18n | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux 8 | nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f |
| AlmaLinux 8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 |
| AlmaLinux 8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux 8 | nodejs-packaging | 23-3.module_el8.4.0+2522+3bd42762 |
| AlmaLinux 8 | nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e |
| AlmaLinux 8 | nodejs-packaging | 23-3.module_el8.5.0+254+b4526b16 |
| 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 | npm | 1:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux 8 | npm | 1:6.14.11-1.10.24.0.1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux 8 | npm | 1:6.14.11-1.10.24.0.1.module_el8.4.0+2224+b07ac28e |
| Alpine 3.11 | nodejs | 12.21.0-r0 |
| Alpine 3.12 | nodejs | 12.21.0-r0 |
| Alpine 3.13 | nodejs | 14.16.0-r0 |
| Alpine 3.14 | nodejs | 14.16.0-r0 |
| Alpine 3.15 | nodejs | 14.16.0-r0 |
| Alpine 3.16 | nodejs | 14.16.0-r0 |
| Alpine 3.17 | nodejs | 14.16.0-r0 |
| Alpine 3.18 | nodejs | 14.16.0-r0 |
| Alpine 3.19 | nodejs | 14.16.0-r0 |
| Alpine 3.20 | nodejs | 14.16.0-r0 |
| Alpine 3.21 | nodejs | 14.16.0-r0 |
| Alpine 3.22 | nodejs | 14.16.0-r0 |
| Alpine 3.23 | nodejs | 14.16.0-r0 |
| Alpine 3.24 | nodejs | 14.16.0-r0 |
| Debian 10 | nodejs | 10.24.0~dfsg-1~deb10u1 |
| Debian 12 | nodejs | 12.21.0~dfsg-1 |
| Debian 13 | nodejs | 12.21.0~dfsg-1 |
| Debian 14 | nodejs | 12.21.0~dfsg-1 |
| Red Hat Enterprise Linux 8 | nodejs | 1:10.24.0-1.module+el8.3.0+10166+b07ac28e |
| Red Hat Enterprise Linux 8 | nodejs | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 |
| Red Hat Enterprise Linux 8 | nodejs | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 |
| Red Hat Enterprise Linux 8 | nodejs-debuginfo | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 |
| Red Hat Enterprise Linux 8 | nodejs-debuginfo | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 |
| Red Hat Enterprise Linux 8 | nodejs-debuginfo | 1:10.24.0-1.module+el8.3.0+10166+b07ac28e |
| Red Hat Enterprise Linux 8 | nodejs-debugsource | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 |
| Red Hat Enterprise Linux 8 | nodejs-debugsource | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 |
| Red Hat Enterprise Linux 8 | nodejs-debugsource | 1:10.24.0-1.module+el8.3.0+10166+b07ac28e |
| Red Hat Enterprise Linux 8 | nodejs-devel | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 |
| Red Hat Enterprise Linux 8 | nodejs-devel | 1:10.24.0-1.module+el8.3.0+10166+b07ac28e |
| Red Hat Enterprise Linux 8 | nodejs-devel | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 |
| Red Hat Enterprise Linux 8 | nodejs-docs | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 |
| Red Hat Enterprise Linux 8 | nodejs-docs | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 |
| Red Hat Enterprise Linux 8 | nodejs-docs | 1:10.24.0-1.module+el8.3.0+10166+b07ac28e |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | 1:10.24.0-1.module+el8.3.0+10166+b07ac28e |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | 0:1.18.3-1.module+el8+2632+6c5111ed |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | 0:2.0.3-1.module+el8.3.0+9715+1718613f |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | 0:2.0.3-1.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 | nodejs-packaging | 0:17-3.module+el8+2873+aa7dfd9a |
| Red Hat Enterprise Linux 8 | nodejs-packaging | 0:23-3.module+el8.3.0+6519+9f98ed83 |
| Red Hat Enterprise Linux 8 | npm | 1:6.14.11-1.10.24.0.1.module+el8.3.0+10166+b07ac28e |
| Red Hat Enterprise Linux 8 | npm | 1:6.14.11-1.12.21.0.1.module+el8.3.0+10191+34fb5a07 |
| Red Hat Enterprise Linux 8 | npm | 1:6.14.11-1.14.16.0.2.module+el8.3.0+10180+b92e1eb6 |
| Red Hat rhel eus 8.1 | nodejs | 1:12.21.0-1.module+el8.1.0+10194+d5e49c90 |
| Red Hat rhel eus 8.1 | nodejs | 1:10.24.0-1.module+el8.1.0+10161+5cffdac6 |
| Red Hat rhel eus 8.1 | nodejs-debuginfo | 1:10.24.0-1.module+el8.1.0+10161+5cffdac6 |
| Red Hat rhel eus 8.1 | nodejs-debuginfo | 1:12.21.0-1.module+el8.1.0+10194+d5e49c90 |
| Red Hat rhel eus 8.1 | nodejs-debugsource | 1:12.21.0-1.module+el8.1.0+10194+d5e49c90 |
| Red Hat rhel eus 8.1 | nodejs-debugsource | 1:10.24.0-1.module+el8.1.0+10161+5cffdac6 |
| Red Hat rhel eus 8.1 | nodejs-devel | 1:10.24.0-1.module+el8.1.0+10161+5cffdac6 |
| Red Hat rhel eus 8.1 | nodejs-devel | 1:12.21.0-1.module+el8.1.0+10194+d5e49c90 |
| Red Hat rhel eus 8.1 | nodejs-docs | 1:10.24.0-1.module+el8.1.0+10161+5cffdac6 |
| Red Hat rhel eus 8.1 | nodejs-docs | 1:12.21.0-1.module+el8.1.0+10194+d5e49c90 |
| Red Hat rhel eus 8.1 | nodejs-full-i18n | 1:10.24.0-1.module+el8.1.0+10161+5cffdac6 |
| Red Hat rhel eus 8.1 | nodejs-full-i18n | 1:12.21.0-1.module+el8.1.0+10194+d5e49c90 |
| 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-nodemon | 0:1.18.3-1.module+el8+2632+6c5111ed |
| Red Hat rhel eus 8.1 | nodejs-packaging | 0:17-3.module+el8+2873+aa7dfd9a |
| 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.11-1.12.21.0.1.module+el8.1.0+10194+d5e49c90 |
| Red Hat rhel eus 8.1 | npm | 1:6.14.11-1.10.24.0.1.module+el8.1.0+10161+5cffdac6 |
| Red Hat rhel eus 8.2 | nodejs | 1:12.21.0-1.module+el8.2.0+10192+8959c43b |
| Red Hat rhel eus 8.2 | nodejs | 1:10.24.0-1.module+el8.2.0+10165+019e8570 |
| Red Hat rhel eus 8.2 | nodejs-debuginfo | 1:12.21.0-1.module+el8.2.0+10192+8959c43b |
| Red Hat rhel eus 8.2 | nodejs-debuginfo | 1:10.24.0-1.module+el8.2.0+10165+019e8570 |
| Red Hat rhel eus 8.2 | nodejs-debugsource | 1:10.24.0-1.module+el8.2.0+10165+019e8570 |
| Red Hat rhel eus 8.2 | nodejs-debugsource | 1:12.21.0-1.module+el8.2.0+10192+8959c43b |
| Red Hat rhel eus 8.2 | nodejs-devel | 1:12.21.0-1.module+el8.2.0+10192+8959c43b |
| Red Hat rhel eus 8.2 | nodejs-devel | 1:10.24.0-1.module+el8.2.0+10165+019e8570 |
| Red Hat rhel eus 8.2 | nodejs-docs | 1:12.21.0-1.module+el8.2.0+10192+8959c43b |
| Red Hat rhel eus 8.2 | nodejs-docs | 1:10.24.0-1.module+el8.2.0+10165+019e8570 |
| Red Hat rhel eus 8.2 | nodejs-full-i18n | 1:12.21.0-1.module+el8.2.0+10192+8959c43b |
| Red Hat rhel eus 8.2 | nodejs-full-i18n | 1:10.24.0-1.module+el8.2.0+10165+019e8570 |
| 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-nodemon | 0:1.18.3-1.module+el8+2632+6c5111ed |
| Red Hat rhel eus 8.2 | nodejs-packaging | 0:17-3.module+el8+2873+aa7dfd9a |
| 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.11-1.12.21.0.1.module+el8.2.0+10192+8959c43b |
| Red Hat rhel eus 8.2 | npm | 1:6.14.11-1.10.24.0.1.module+el8.2.0+10165+019e8570 |
| Red Hat rhel software collections 3 | rh-nodejs10-nodejs | 0:10.24.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs10-nodejs-debuginfo | 0:10.24.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs10-nodejs-devel | 0:10.24.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs10-nodejs-docs | 0:10.24.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs10-npm | 0:6.14.11-10.24.0.1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs12-nodejs | 0:12.21.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs12-nodejs-debuginfo | 0:12.21.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs12-nodejs-devel | 0:12.21.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs12-nodejs-docs | 0:12.21.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs12-npm | 0:6.14.11-12.21.0.1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-nodejs | 0:14.16.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-nodejs-debuginfo | 0:14.16.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-nodejs-devel | 0:14.16.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-nodejs-docs | 0:14.16.0-1.el7 |
| Red Hat rhel software collections 3 | rh-nodejs14-npm | 0:6.14.11-14.16.0.1.el7 |
| Rocky Linux 8 | nodejs | 1:14.16.0-2.module+el8.3.0+100+234774f7 |
| Rocky Linux 8 | nodejs | 1:10.24.0-1.module+el8.3.0+101+f84c7154 |
| Rocky Linux 8 | nodejs | 1:12.21.0-1.module+el8.3.0+99+3663d81c |
| 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:1.18.3-1.module+el8.3.0+101+f84c7154 |
| Rocky Linux 8 | nodejs-nodemon | 0:2.0.3-1.module+el8.6.0+982+9fdca2d4 |
| Rocky Linux 8 | nodejs-packaging | 0:23-3.module+el8.7.0+1071+4bdda2a8 |
| Rocky Linux 8 | nodejs-packaging | 0:17-3.module+el8.3.0+101+f84c7154 |
| Rocky Linux 8 | nodejs-packaging | 0:23-3.module+el8.3.0+100+234774f7 |
| Rocky Linux 8 | nodejs-packaging | 0:23-3.module+el8.5.0+733+de4fee6c |
| SUSE Enterprise Storage 6 | nodejs-common | 2.0-3.2.1 |
| SUSE Enterprise Storage 6 | nodejs10 | 10.24.0-1.33.2 |
| SUSE Enterprise Storage 6 | nodejs8 | 8.17.0-3.47.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | nodejs-common | 2.0-3.2.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | nodejs10 | 10.24.0-1.33.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | nodejs8 | 8.17.0-3.47.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | nodejs-common | 2.0-3.2.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | nodejs10 | 10.24.0-1.33.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | nodejs8 | 8.17.0-3.47.2 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | nodejs-common | 2.0-3.2.1 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | nodejs10 | 10.24.0-1.33.2 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | nodejs8 | 8.17.0-3.47.2 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | nodejs-common | 2.0-3.2.1 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | nodejs10 | 10.24.0-1.33.2 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | nodejs8 | 8.17.0-3.47.2 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | nodejs10 | 10.24.0-1.36.2 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | nodejs12 | 12.21.0-1.29.2 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | nodejs14 | 14.16.0-6.9.2 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP2 | nodejs-common | 2.0-3.2.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP2 | nodejs10 | 10.24.0-1.33.2 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP2 | nodejs12 | 12.21.0-4.13.2 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP2 | nodejs14 | 14.16.0-5.9.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP2 | nodejs8 | 8.17.0-10.9.2 |
| SUSE Linux Enterprise Server 15 SP1-BCL | nodejs-common | 2.0-3.2.1 |
| SUSE Linux Enterprise Server 15 SP1-BCL | nodejs10 | 10.24.0-1.33.2 |
| SUSE Linux Enterprise Server 15 SP1-BCL | nodejs8 | 8.17.0-3.47.2 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | nodejs-common | 2.0-3.2.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | nodejs10 | 10.24.0-1.33.2 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | nodejs8 | 8.17.0-3.47.2 |
| SUSE Linux Enterprise Server 15-LTSS | nodejs-common | 2.0-3.2.1 |
| SUSE Linux Enterprise Server 15-LTSS | nodejs10 | 10.24.0-1.33.2 |
| SUSE Linux Enterprise Server 15-LTSS | nodejs8 | 8.17.0-3.47.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 | nodejs-common | 2.0-3.2.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 | nodejs10 | 10.24.0-1.33.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 | nodejs8 | 8.17.0-3.47.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | nodejs-common | 2.0-3.2.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | nodejs10 | 10.24.0-1.33.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | nodejs8 | 8.17.0-3.47.2 |
| SUSE Manager Proxy 4.0 | nodejs-common | 2.0-3.2.1 |
| SUSE Manager Proxy 4.0 | nodejs10 | 10.24.0-1.33.2 |
| SUSE Manager Proxy 4.0 | nodejs8 | 8.17.0-3.47.2 |
| SUSE Manager Retail Branch Server 4.0 | nodejs-common | 2.0-3.2.1 |
| SUSE Manager Retail Branch Server 4.0 | nodejs10 | 10.24.0-1.33.2 |
| SUSE Manager Retail Branch Server 4.0 | nodejs8 | 8.17.0-3.47.2 |
| SUSE Manager Server 4.0 | nodejs-common | 2.0-3.2.1 |
| SUSE Manager Server 4.0 | nodejs10 | 10.24.0-1.33.2 |
| SUSE Manager Server 4.0 | nodejs8 | 8.17.0-3.47.2 |
| Ubuntu 20.04 LTS | nodejs | 10.19.0~dfsg-3ubuntu1.2 |
| Ubuntu Pro 18.04 LTS | nodejs | 8.10.0~dfsg-2ubuntu0.4+esm3 |
| openSUSE Leap 15.2 | nodejs10 | 10.24.0-lp152.2.12.1 |
| openSUSE Leap 15.2 | nodejs12 | 12.21.0-lp152.3.12.1 |
| openSUSE Leap 15.2 | nodejs14 | 14.16.0-lp152.8.1 |
| openSUSE Leap 15.2 | nodejs8 | 8.17.0-lp152.3.11.1 |
| openSUSE Tumbleweed | nodejs14 | 14.17.5-1.2 |