# CVE-2021-22884: 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: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 37.2%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-03T17:37:46.000Z
- Modified: 2026-10-16T09:45:31.649Z
- Also known as: BIT-NODE-2021-22884, BIT-NODE-MIN-2021-22884
- Weaknesses: CWE-350
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- 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.*; from 12.0 before 12.21.0; from 13.0 before 13.*; from 14.0 before 14.16.0; from 15.0 before 15.10.0
- 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
- fedoraproject fedora: 32; 33; 34
- netapp active_iq_unified_manager: no versions given
- netapp e-series_performance_analyzer: no versions given
- netapp oncommand_insight: no versions given
- netapp oncommand_workflow_automation: no versions given
- netapp snapcenter: no versions given
- oracle graalvm: 19.3.5; 20.3.1.2; 21.0.0.2
- oracle jd_edwards_enterpriseone_tools: before 9.2.6.0
- oracle mysql_cluster: up to 8.0.25
- oracle nosql_database: before 20.3
- oracle peoplesoft_enterprise_peopletools: 8.58; 8.59
- siemens sinec_infrastructure_network_services: before 1.0.1.1
- 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
- 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

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 5.1 Medium `AV:N/AC:H/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://hackerone.com/reports/1069487> (exploit, advisory, issue-tracking, third-party-advisory)
- <https://nodejs.org/en/blog/vulnerability/february-2021-security-releases/> (advisory, patch, release-notes, vendor-advisory)
- <https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/#node-js-inspector-dns-rebinding-vulnerability-cve-2018-7160> (advisory, patch, release-notes, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E4FRS5ZVK4ZQ7XIJQNGIKUXG2DJFHLO7/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F45Y7TXSU33MTKB6AGL2Q5V5ZOCNPKOG/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSYFUGKFUSZ27M5TEZ3FKILWTWFJTFAZ/> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpuApr2021.html> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210416-0001/> (advisory, third-party-advisory)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (advisory, patch, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210723-0001/> (advisory, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf> (patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22884> (web)

## Sources

- CVE List: [CVE-2021-22884](https://www.cve.org/CVERecord?id=CVE-2021-22884), CVE Terms of Use, modified 2025-04-30
- NVD: [CVE-2021-22884](https://nvd.nist.gov/vuln/detail/CVE-2021-22884), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2021-22884](https://osv.dev/vulnerability/BIT-NODE-2021-22884), Apache-2.0, modified 2026-10-16
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2021-22884](https://osv.dev/vulnerability/BIT-NODE-MIN-2021-22884), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2021-22884 · Whole record: https://cve.day/CVE-2021-22884.json · Rebuilt by cve.day 2026-11-25T22:58:00.133Z
