CVE-2021-22884: Node.js - DNS Rebinding
- Cve: CVE-2021-22884
- Name: Node.js - DNS Rebinding
- 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.
- Impact: Attackers can bypass DNS rebinding protections, potentially leading to unauthorized access or control over local network resources.
- Remediation: Update to Node.js 10.24.0, 12.21.0, 14.16.0, or 15.10.0 or later versions.
- Vulnerability type: dns_rebinding
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.36842
- Epss percentile: 0.9853
- Assignee: [email protected]
- Published at: 2021-03-03T18:15:14Z
- Age in days: 2092
- Modified at: 2026-06-17T03:37:56Z
- Patch available: yes
- Public exploits total: 1
- References total: 12
- Products total: 13
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-22884
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-350 | Reliance on Reverse DNS Resolution for a Security-Critical Action |
| NVD-CWE-Other | — |
Hackerone
- Reports: 2
- Rank: 3806
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://hackerone.com/reports/1069487 | nvd | 2021-03-03 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://nodejs.org/en/blog/vulnerability/february-2021-security-releases/ | Patch, Release Notes, Vendor Advisory |
| https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/#node-js-inspector-dns-rebinding-vulnerability-cve-2018-7160 | Patch, Release Notes, Vendor Advisory |
| https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | Patch, Third Party Advisory |
| https://www.oracle.com//security-alerts/cpujul2021.html | Patch, Third Party Advisory |
| https://www.oracle.com/security-alerts/cpuApr2021.html | Patch, Third Party Advisory |
| https://www.oracle.com/security-alerts/cpuoct2021.html | Patch, Third Party Advisory |
| https://hackerone.com/reports/1069487 | Exploit, Issue Tracking, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210416-0001/ | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210723-0001/ | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E4FRS5ZVK4ZQ7XIJQNGIKUXG2DJFHLO7/ |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| nodejs:node.js | >= 15.0.0, < 15.10.0; >= 14.0.0, < 14.16.0; >= 12.0.0, < 12.21.0; >= 10.0.0, < 10.24.0 | /v1/products/nodejs/node.js |
| fedoraproject:fedora | = 34, = 33, = 32 | /v1/products/fedoraproject/fedora |
| netapp:oncommand_insight | all versions | /v1/products/netapp/oncommand_insight |
| netapp:active_iq_unified_manager | all versions | /v1/products/netapp/active_iq_unified_manager |
| netapp:oncommand_workflow_automation | all versions | /v1/products/netapp/oncommand_workflow_automation |
| netapp:snapcenter | all versions | /v1/products/netapp/snapcenter |
| oracle:peoplesoft_enterprise_peopletools | = 8.59, = 8.58 | /v1/products/oracle/peoplesoft_enterprise_peopletools |
| oracle:jd_edwards_enterpriseone_tools | < 9.2.6.0 | /v1/products/oracle/jd_edwards_enterpriseone_tools |
| oracle:graalvm | = 21.0.0.2, = 20.3.1.2, = 19.3.5 | /v1/products/oracle/graalvm |
| oracle:mysql_cluster | <= 8.0.25 | /v1/products/oracle/mysql_cluster |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-03-03
- Remote: yes
- Hackerone reports: 2
- Exposed hosts: 3533194
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since