Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NodeJS | Node | 4.0 – < 4.*, 5.0 – < 5.*, 6.0 – < 6.*, 7.0 – < 7.*, 8.0 – < 8.*, 9.0 – < 9.*, 10.0 – < 10.24.0, 11.0 – < 11.*, 12.0 – < 12.21.0, 13.0 – < 13.*, 14.0 – < 14.16.0, 15.0 – < 15.10.0 | 4.* |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nodejs | 12.21.0~dfsg-1 | — |
| Debian 13 | nodejs | 12.21.0~dfsg-1 | — |
| Debian 12 | nodejs | 12.21.0~dfsg-1 | — |
| Debian 10 | nodejs | 10.24.0~dfsg-1~deb10u1 | DSA-4863-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | nodejs | 10.19.0~dfsg-3ubuntu1.2 | USN-6418-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | nodejs | 8.10.0~dfsg-2ubuntu0.4+esm3 | USN-6418-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | nodejs +3 | 1:10.24.0-1.module+el8.3.0+10166+b07ac28e | RHSA-2021:0744, RHSA-2021:0735, RHSA-2021:0734 |
| RHEL 8 | nodejs-nodemon | 1.18.3-1.module+el8+2632+6c5111ed | RHSA-2021:0744, RHSA-2021:0735, RHSA-2021:0734 |
| RHEL 8 | nodejs-packaging | 17-3.module+el8.1.0+3369+37ae6a45 | RHSA-2021:0744, RHSA-2021:0735, RHSA-2021:0734 |
| RHEL 8 | npm | 1:6.14.11-1.10.24.0.1.module+el8.3.0+10166+b07ac28e | RHSA-2021:0744, RHSA-2021:0735, RHSA-2021:0734 |
| RHEL 3 | rh-nodejs10-nodejs +2 | 10.24.0-1.el7 | RHSA-2021:0827 |
| RHEL 3 | rh-nodejs10-npm | 6.14.11-10.24.0.1.el7 | RHSA-2021:0827 |
| RHEL 3 | rh-nodejs12-nodejs +2 | 12.21.0-1.el7 | RHSA-2021:0831 |
| RHEL 3 | rh-nodejs12-npm | 6.14.11-12.21.0.1.el7 | RHSA-2021:0831 |
| RHEL 3 | rh-nodejs14-nodejs +2 | 14.16.0-1.el7 | RHSA-2021:0830 |
| RHEL 3 | rh-nodejs14-npm | 6.14.11-14.16.0.1.el7 | RHSA-2021:0830 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.2 EUS | nodejs +3 | 1:10.24.0-1.module+el8.2.0+10165+019e8570 | RHSA-2021:0740, RHSA-2021:0738 |
| RHEL 8.2 EUS | nodejs-nodemon | 1.18.3-1.module+el8.1.0+3369+37ae6a45 | RHSA-2021:0740, RHSA-2021:0738 |
| RHEL 8.2 EUS | nodejs-packaging | 17-3.module+el8.1.0+3369+37ae6a45 | RHSA-2021:0740, RHSA-2021:0738 |
| RHEL 8.2 EUS | npm | 1:6.14.11-1.10.24.0.1.module+el8.2.0+10165+019e8570 | RHSA-2021:0740, RHSA-2021:0738 |
| RHEL 8.1 EUS | nodejs +3 | 1:10.24.0-1.module+el8.1.0+10161+5cffdac6 | RHSA-2021:0741, RHSA-2021:0739 |
| RHEL 8.1 EUS | nodejs-nodemon | 1.18.3-1.module+el8.1.0+3369+37ae6a45 | RHSA-2021:0741, RHSA-2021:0739 |
| RHEL 8.1 EUS | nodejs-packaging | 17-3.module+el8.1.0+3369+37ae6a45 | RHSA-2021:0741, RHSA-2021:0739 |
| RHEL 8.1 EUS | npm | 1:6.14.11-1.10.24.0.1.module+el8.1.0+10161+5cffdac6 | RHSA-2021:0741, RHSA-2021:0739 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | nodejs +3 | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e | ALSA-2021:0735 |
| AlmaLinux 8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0744, ALSA-2021:0735, ALSA-2021:0734 |
| AlmaLinux 8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0744, ALSA-2021:0735, ALSA-2021:0734 |
| AlmaLinux 8 | npm | 1:6.14.11-1.10.24.0.1.module_el8.3.0+2047+b07ac28e | ALSA-2021:0735 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | nodejs | 1:10.24.0-1.module+el8.3.0+101+f84c7154 | RLSA-2021:0744, RLSA-2021:0735, RLSA-2021:0734 |
| Rocky Linux 8 | nodejs-nodemon | 1.18.3-1.module+el8.3.0+101+f84c7154 | RLSA-2021:0744, RLSA-2021:0735, RLSA-2021:0734 |
| Rocky Linux 8 | nodejs-packaging | 17-3.module+el8.3.0+101+f84c7154 | RLSA-2021:0744, RLSA-2021:0735, RLSA-2021:0734 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SLES 15 SP2 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SLES 15 SP2 | nodejs12 | 12.21.0-4.13.2 | SUSE-SU-2021:0651-1 |
| SLES 15 SP2 | nodejs14 | 14.16.0-5.9.1 | SUSE-SU-2021:0648-1 |
| SLES 15 SP2 | nodejs8 | 8.17.0-10.9.2 | SUSE-SU-2021:0686-1 |
| SLES 15 SP1 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SLES 15 SP1 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SLES 15 SP1 | nodejs8 | 8.17.0-3.47.2 | SUSE-SU-2021:2620-1 |
| SLES 15 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SLES 15 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SLES 15 | nodejs8 | 8.17.0-3.47.2 | SUSE-SU-2021:2620-1 |
| SLES 12 | nodejs10 | 10.24.0-1.36.2 | SUSE-SU-2021:0673-1 |
| SLES 12 | nodejs12 | 12.21.0-1.29.2 | SUSE-SU-2021:0649-1 |
| SLES 12 | nodejs14 | 14.16.0-6.9.2 | SUSE-SU-2021:0650-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SLES for SAP 15 SP1 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SLES for SAP 15 SP1 | nodejs8 | 8.17.0-3.47.2 | SUSE-SU-2021:2620-1 |
| SLES for SAP 15 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SLES for SAP 15 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SLES for SAP 15 | nodejs8 | 8.17.0-3.47.2 | SUSE-SU-2021:2620-1 |
| SLE HPC 15 SP1 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SLE HPC 15 SP1 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SLE HPC 15 SP1 | nodejs8 | 8.17.0-3.47.2 | SUSE-SU-2021:2620-1 |
| SLE HPC 15 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SLE HPC 15 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SLE HPC 15 | nodejs8 | 8.17.0-3.47.2 | SUSE-SU-2021:2620-1 |
| SUSE Manager Server 4.0 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SUSE Manager Server 4.0 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SUSE Manager Server 4.0 | nodejs8 | 8.17.0-3.47.2 | SUSE-SU-2021:2620-1 |
| SUSE Manager Retail Branch Server 4.0 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SUSE Manager Retail Branch Server 4.0 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SUSE Manager Retail Branch Server 4.0 | nodejs8 | 8.17.0-3.47.2 | SUSE-SU-2021:2620-1 |
| SUSE Manager Proxy 4.0 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SUSE Manager Proxy 4.0 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SUSE Manager Proxy 4.0 | nodejs8 | 8.17.0-3.47.2 | SUSE-SU-2021:2620-1 |
| SUSE Enterprise Storage 6 | nodejs-common | 2.0-3.2.1 | SUSE-SU-2021:2620-1 |
| SUSE Enterprise Storage 6 | nodejs10 | 10.24.0-1.33.2 | SUSE-SU-2021:0674-1 |
| SUSE Enterprise Storage 6 | nodejs8 | 8.17.0-3.47.2 | SUSE-SU-2021:2620-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nodejs14 | 14.17.5-1.2 | openSUSE-SU-2024:11096-1 |
| openSUSE Leap 15.2 | nodejs10 | 10.24.0-lp152.2.12.1 | openSUSE-SU-2021:0372-1 |
| openSUSE Leap 15.2 | nodejs12 | 12.21.0-lp152.3.12.1 | openSUSE-SU-2021:0357-1 |
| openSUSE Leap 15.2 | nodejs14 | 14.16.0-lp152.8.1 | openSUSE-SU-2021:0356-1 |
| openSUSE Leap 15.2 | nodejs8 | 8.17.0-lp152.3.11.1 | openSUSE-SU-2021:0389-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | nodejs | 14.16.0-r0 | — |
| Alpine v3.24 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.23 | nodejs | 14.16.0-r0 | — |
| Alpine v3.23 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.22 | nodejs | 14.16.0-r0 | — |
| Alpine v3.22 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.21 | nodejs | 14.16.0-r0 | — |
| Alpine v3.21 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.20 | nodejs | 14.16.0-r0 | — |
| Alpine v3.20 | nodejs-current | 15.10.0-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | nodejs | 14.16.0-r0 | — |
| Alpine v3.19 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.18 | nodejs | 14.16.0-r0 | — |
| Alpine v3.18 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.17 | nodejs | 14.16.0-r0 | — |
| Alpine v3.17 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.16 | nodejs | 14.16.0-r0 | — |
| Alpine v3.16 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.15 | nodejs | 14.16.0-r0 | — |
| Alpine v3.15 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.14 | nodejs | 14.16.0-r0 | — |
| Alpine v3.14 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.13 | nodejs | 14.16.0-r0 | — |
| Alpine v3.13 | nodejs-current | 15.10.0-r0 | — |
| Alpine v3.12 | nodejs | 12.21.0-r0 | — |
| Alpine v3.11 | nodejs | 12.21.0-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | nodejs +3 | 1:10.24.0-1.module+el8.3.0+9671+154373c8 | ELSA-2021-0744, ELSA-2021-0735, ELSA-2021-0734 |
| Oracle Linux 8 | nodejs-nodemon | 1.18.3-1.module+el8.1.0+5392+4d6b561f | ELSA-2021-0744, ELSA-2021-0735, ELSA-2021-0734 |
| Oracle Linux 8 | nodejs-packaging | 17-3.module+el8.1.0+5392+4d6b561f | ELSA-2021-0744, ELSA-2021-0735, ELSA-2021-0734 |
| Oracle Linux 8 | npm | 1:6.14.11-1.10.24.0.1.module+el8.3.0+9671+154373c8 | ELSA-2021-0744, ELSA-2021-0735, ELSA-2021-0734 |
Advisories 38
- ALSA-2021:0744 Important: nodejs:14 security and bug fix update AlmaLinux Security Advisories · Nov 6, 2026
- ALSA-2021:0734 Important: nodejs:12 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2021:0735 Important: nodejs:10 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2021:0831 Red Hat Security Advisory: rh-nodejs12-nodejs security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2021:0827 Red Hat Security Advisory: rh-nodejs10-nodejs security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2021:0830 Red Hat Security Advisory: rh-nodejs14-nodejs security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2021:0744 Red Hat Security Advisory: nodejs:14 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2021:0740 Red Hat Security Advisory: nodejs:12 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2021:0741 Red Hat Security Advisory: nodejs:10 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2021:0739 Red Hat Security Advisory: nodejs:12 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2021:0738 Red Hat Security Advisory: nodejs:10 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2021:0735 Red Hat Security Advisory: nodejs:10 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2021:0734 Red Hat Security Advisory: nodejs:12 security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-6418-1 nodejs vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4863-1 nodejs - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:0735 Important: nodejs:10 security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2021:0744 Important: nodejs:14 security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2021:0734 Important: nodejs:12 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2021:0686-1 Security update for nodejs8 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0651-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0356-1 Security update for nodejs14 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0674-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0389-1 Security update for nodejs8 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0357-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0648-1 Security update for nodejs14 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2620-1 Security update for nodejs8 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0673-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11096-1 nodejs14-14.17.5-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0649-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0650-1 Security update for nodejs14 SUSE / openSUSE Security Updates · Feb 4, 2026
- FSA-202302 Festo: Several vulnerabilities in FactoryViews CERT@VDE · Feb 2, 2026
- openSUSE-SU-2021:0372-1 Security update for nodejs10 SUSE / openSUSE Security Updates · May 7, 2025
- ICSA-22-069-09 Siemens SINEC INS CISA ICS & IT advisories · May 6, 2025
- WID-SEC-2023-0485 Node.js: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · May 9, 2024
- SSA-389290 SSA-389290: Third-Party Component Vulnerabilities in SINEC INS Siemens ProductCERT · Mar 8, 2022
- ELSA-2021-0744 Important: nodejs:14 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Mar 9, 2021
- ELSA-2021-0735 Important: nodejs:10 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Mar 5, 2021
- ELSA-2021-0734 Important: nodejs:12 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Mar 5, 2021
References
- https://hackerone.com/reports/1069487
- https://nodejs.org/en/blog/vulnerability/february-2021-security-releases/
- https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/#node-js-inspector-dns-rebinding-vulnerability-cve-2018-7160
- FEDORA-2021-a760169c3c vendor-advisory
- FEDORA-2021-f6bd75e9d4 vendor-advisory
- FEDORA-2021-6aaba80ba2 vendor-advisory
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://security.netapp.com/advisory/ntap-20210416-0001/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://security.netapp.com/advisory/ntap-20210723-0001/
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf