7.5high
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”.
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 37.2% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- BIT-NODE-2021-22884BIT-NODE-MIN-2021-22884
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
| Product or package | Versions | Reported by |
|---|---|---|
| NodeJS Node | from 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.24.0, from 11.0 before 11.* and 4 more | CVE List |
| nodejs node.js | from 10.0.0 before 10.24.0, from 12.0.0 before 12.21.0, from 14.0.0 before 14.16.0, from 15.0.0 before 15.10.0 | NVD |
| fedoraproject fedora | 32, 33, 34 | NVD |
| netapp active_iq_unified_manager | Not specified | NVD |
| netapp e-series_performance_analyzer | Not specified | NVD |
| netapp oncommand_insight | Not specified | NVD |
| netapp oncommand_workflow_automation | Not specified | NVD |
| netapp snapcenter | Not specified | NVD |
| oracle graalvm | 19.3.5, 20.3.1.2, 21.0.0.2 | NVD |
| oracle jd_edwards_enterpriseone_tools | before 9.2.6.0 | NVD |
| oracle mysql_cluster | up to 8.0.25 | NVD |
| oracle nosql_database | before 20.3 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.58, 8.59 | NVD |
| siemens sinec_infrastructure_network_services | before 1.0.1.1 | NVD |
| node (Bitnami) | from 10.0.0 before 10.24.0, from 12.0.0 before 12.21.0, from 14.0.0 before 14.16.0, from 15.0.0 before 15.10.0 | Bitnami Vulnerability Database |
| node-min (Bitnami) | from 10.0.0 before 10.24.0, from 12.0.0 before 12.21.0, from 14.0.0 before 14.16.0, from 15.0.0 before 15.10.0 | Bitnami Vulnerability Database |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 5.1medium CVSS:2.0 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
Node.js versiones anteriores a 10.24.0, 12.21.0, 14.16.0 y 15.10.0, es vulnerable a unos ataques de reenlace de DNS, ya que la lista blanca incluye “localhost6”. Cuando “localhost6” no está presente en el archivo /etc/hosts, es solo un dominio ordinario que es resuelto por medio de DNS, es decir, a través de la red. Si el atacante controla el servidor DNS de la víctima o puede falsificar sus respuestas, la protección de reenlace de DNS se puede omitir usando el dominio "localhost6". Siempre que el atacante use el dominio "localhost6", aún puede aplicar el ataque descrito en el CVE-2018-7160
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22884 changed 2025-04-30 | CVE Terms of Use |
| NVD | CVE-2021-22884 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2021-22884 changed 2026-10-16 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2021-22884 changed 2026-10-16 | Apache-2.0 |