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.
CVE-2021-22884
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2022-05-24. NVD baseline CVSS 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 98.1%
- KEV
- Not listed
Published
March 3, 2021
Last Modified
November 21, 2024
References (24)
- support@hackeronehttps://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- support@hackeronehttps://hackerone.com/reports/1069487
- support@hackeronehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E4FRS5ZVK4ZQ7XIJQNGIKUXG2DJFHLO7/
- support@hackeronehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F45Y7TXSU33MTKB6AGL2Q5V5ZOCNPKOG/
- support@hackeronehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSYFUGKFUSZ27M5TEZ3FKILWTWFJTFAZ/
- support@hackeronehttps://nodejs.org/en/blog/vulnerability/february-2021-security-releases/
- support@hackeronehttps://nodejs.org/en/blog/vulnerability/march-2018-security-releases/#node-js-inspector-dns-rebinding-vulnerability-cve-2018-7160
- support@hackeronehttps://security.netapp.com/advisory/ntap-20210416-0001/
- support@hackeronehttps://security.netapp.com/advisory/ntap-20210723-0001/
- support@hackeronehttps://www.oracle.com//security-alerts/cpujul2021.html
- support@hackeronehttps://www.oracle.com/security-alerts/cpuApr2021.html
- support@hackeronehttps://www.oracle.com/security-alerts/cpuoct2021.html
- af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- af854a3a-2127-422b-91ae-364da2661108https://hackerone.com/reports/1069487
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E4FRS5ZVK4ZQ7XIJQNGIKUXG2DJFHLO7/
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | nodejs-doc (8.10.0~dfsg-2ubuntu0.4+esm3) @ bionic | 2026-05-26 | ubuntu |
| redhat | rh-nodejs12-nodejs-0:12.21.0-1.el7 | 2021-03-15 | redhat |
| redhat | rh-nodejs14-nodejs-0:14.16.0-1.el7 | 2021-03-15 | redhat |
| redhat | rh-nodejs10-nodejs-0:10.24.0-1.el7 | 2021-03-15 | redhat |
| redhat | nodejs:12-8020020210302112530.4cda2c84 | 2021-03-08 | redhat |
| redhat | nodejs:12-8010020210302113522.c27ad7f8 | 2021-03-08 | redhat |
| redhat | nodejs:14-8030020210301172147.229f0a1c | 2021-03-08 | redhat |
| redhat | nodejs:10-8010020210225115101.c27ad7f8 | 2021-03-08 | redhat |
| redhat | nodejs:10-8020020210225153906.4cda2c84 | 2021-03-08 | redhat |
| redhat | nodejs:10-8030020210225164533.229f0a1c | 2021-03-04 | redhat |
| redhat | nodejs:12-8030020210302104621.229f0a1c | 2021-03-04 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(11)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2021:0734MODERATE2021-02-18
RHSA-2021:0734 — Moderate
- Red HatRHSA-2021:0735MODERATE2021-02-18
RHSA-2021:0735 — Moderate
- Red HatRHSA-2021:0738MODERATE2021-02-18
RHSA-2021:0738 — Moderate
- Red HatRHSA-2021:0739MODERATE2021-02-18
RHSA-2021:0739 — Moderate
- Red HatRHSA-2021:0740MODERATE2021-02-18
RHSA-2021:0740 — Moderate
- Red HatRHSA-2021:0741MODERATE2021-02-18
RHSA-2021:0741 — Moderate
- Red HatRHSA-2021:0744MODERATE2021-02-18
RHSA-2021:0744 — Moderate
- Red HatRHSA-2021:0827MODERATE2021-02-18
RHSA-2021:0827 — Moderate
- Red HatRHSA-2021:0830MODERATE2021-02-18
RHSA-2021:0830 — Moderate
- Red HatRHSA-2021:0831MODERATE2021-02-18
RHSA-2021:0831 — Moderate
- UbuntuUSN-6418-1MEDIUM
Node.js vulnerabilities
Data Freshness Timeline
(refreshed 6× in last 7d / 35× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-02 16:57 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 07:48 UTCOSV refresh
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
Show 48 moreShow fewer
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 12:43 UTCOSV refresh
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 20:12 UTCEG score recompute
- 2026-05-26 20:12 UTCVendor advisory
- 2026-05-26 20:12 UTCGHSA enrichment
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 16:49 UTCEPSS rescore
- 2026-05-23 09:01 UTCOSV refresh
Frequently asked(5)
What is CVE-2021-22884?
When was CVE-2021-22884 disclosed?
Is CVE-2021-22884 actively exploited?
What is the CVSS score of CVE-2021-22884?
How do I remediate CVE-2021-22884?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2021-22884
Is Your Infrastructure Affected by CVE-2021-22884?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.