CVE-2021-22884
No exploitation reported by the sources we read.
- Published2021-03-03
- Fixed in15.10.0 · 14.16.0 · 12.21.0 · 10.24.0
- WeaknessCWE-350
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2021-03-0318:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 15.x | ≥ 15.0.0, < 15.10.0 | 15.10.0 | NVD · OSV |
| 14.x | ≥ 14.0.0, < 14.16.0 | 14.16.0 | NVD · OSV |
| 12.x | ≥ 12.0.0, < 12.21.0 | 12.21.0 | NVD · OSV |
| 10.x | ≥ 10.0.0, < 10.24.0 | 10.24.0 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 32.x | = 32 | no fix published | NVD |
| 33.x | = 33 | no fix published | NVD |
| 34.x | = 34 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 19.3 | = 19.3.5 | no fix published | NVD |
| 20.3 | = 20.3.1.2 | no fix published | NVD |
| 21.0 | = 21.0.0.2 | no fix published | NVD |
10 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- nodejsUbuntu:Pro:18.04:LTSall versions · fixed in 8.10.0~dfsg-2ubuntu0.4+esm3
- nodejsUbuntu:20.04:LTSall versions · fixed in 10.19.0~dfsg-3ubuntu1.2
- nodejsRocky Linux:8all versions · fixed in 1:10.24.0-1.module+el8.3.0+101+f84c7154
- nodejsRocky Linux:8all versions · fixed in 1:12.21.0-1.module+el8.3.0+99+3663d81c
- nodejsRocky Linux:8all versions · fixed in 1:14.16.0-2.module+el8.3.0+100+234774f7
- nodejsRed Hat:rhel_eus:8.2::appstreamall versions · fixed in 1:10.24.0-1.module+el8.2.0+10165+019e8570and 5 other packages
- nodejsRed Hat:rhel_eus:8.2::appstreamall versions · fixed in 1:12.21.0-1.module+el8.2.0+10192+8959c43band 5 other packages
- nodejsRed Hat:rhel_eus:8.1::appstreamall versions · fixed in 1:10.24.0-1.module+el8.1.0+10161+5cffdac6and 5 other packages
141 more package ranges on OSV.dev
Vendor advisories
nodejs: DNS rebinding in --inspect
quay/quay-rhel8 as a component of Red Hat Quay 3
Siemens SINEC INS
SINEC INS
SSA-389290: Third-Party Component Vulnerabilities in SINEC INS
SINEC INS
Red Hat Security Advisory: rh-nodejs12-nodejs security update
Red Hat Security Advisory: rh-nodejs14-nodejs security update
Red Hat Security Advisory: rh-nodejs10-nodejs security update
7 more advisories
Fix
- Update Node.js to 15.10.0 · 14.16.0 · 12.21.0 · 10.24.0
- Vendor fix CISA ICSA-22-069-09 · 1 productUpdate to V1.0.1.1 or later version
- Vendor fix Siemens ProductCERT SSA-389290 · 1 productUpdate to V1.0.1.1 or later version
- Vendor fix Red Hat Product Security RHSA-2021:0831 · 48 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2021:0831 · 48 productsEnsure that 'localhost6' is part of /etc/hosts. e.g.: ``` $ grep localhost6 /etc/hosts ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 ```
Advisories and patches
- cert-portal.siemens.comPatch
- nodejs.orgPatch · Release Notes · Vendor Advisory
- nodejs.orgPatch · Release Notes · Vendor Advisory
- www.oracle.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05.1read 2026-10-23
- CNAweakness (CWE)CWE-350known since 2026-10-23
- FIRST EPSSEPSS score36.8 %read 2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- BIT-node-2021-22884same flawBitnami · Apache-2.0
- BIT-node-min-2021-22884same flawBitnami · Apache-2.0
- EUVD-2021-10017same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-2w6h-7cgj-qw4qsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2021:0734advisory covering several CVEsAlmaLinux · MIT
- ALSA-2021:0735advisory covering several CVEsAlmaLinux · MIT
- ALSA-2021:0744advisory covering several CVEsAlmaLinux · MIT
- DSA-4863-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0092advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1114advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:0356-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:0357-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:0372-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:0389-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11096-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2021:0734advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:0735advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:0738advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:0739advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:0740advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:0741advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:0744advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:0827advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:0830advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:0831advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2021:0734advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2021:0735advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2021:0744advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2021:0648-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:0649-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:0650-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:0651-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:0673-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:0674-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:0686-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2620-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6418-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2021-03-03
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-2w6h-7cgj-qw4q
Frequently asked questions
What is CVE-2021-22884?
Is CVE-2021-22884 actively exploited?
What is the CVSS score for CVE-2021-22884?
Running Node.js? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2w6h-7cgj-qw4q
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)