CVE & CISA-KEV Catalog

CVE-2021-22884

HIGHEPSS 98th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
nodejsDebian
Fixed in:12.21.0~dfsg-1CVE-2021-22884
Fixed in:12.21.0~dfsg-1CVE-2021-22884
Fixed in:12.21.0~dfsg-1CVE-2021-22884
Fixed in:12.21.0~dfsg-1CVE-2021-22884
libnode-devUbuntu
Fixed in:10.19.0~dfsg-3ubuntu1.2USN-6418-1
libnode64Ubuntu
Fixed in:10.19.0~dfsg-3ubuntu1.2USN-6418-1
nodejsUbuntu
Fixed in:8.10.0~dfsg-2ubuntu0.4+esm3USN-6418-1
Fixed in:10.19.0~dfsg-3ubuntu1.2USN-6418-1
nodejs-devUbuntu
Fixed in:8.10.0~dfsg-2ubuntu0.4+esm3USN-6418-1
Node.jsWindows application
Affected:10.0.0 10.24.0Fixed in:10.24.0Node.js Foundation
Affected:12.0.0 12.21.0Fixed in:12.21.0Node.js Foundation
Affected:15.0.0 15.10.0Fixed in:15.10.0Node.js Foundation
Affected:14.0.0 14.16.0Fixed in:14.16.0Node.js Foundation
Node.js (LTS)Windows application
Affected:12.0.0 12.21.0Fixed in:12.21.0Node.js Foundation
Affected:15.0.0 15.10.0Fixed in:15.10.0Node.js Foundation
Affected:14.0.0 14.16.0Fixed in:14.16.0Node.js Foundation
Affected:10.0.0 10.24.0Fixed in:10.24.0Node.js Foundation

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

32.36%probability of exploitation in 30 days
98thpercentile

Very high risk: more likely to be exploited than 98% of all known CVEs.

References

Related Vulnerabilities

Other CWE-350 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2018-7160High8.89.9%-Fix
CVE-2017-0902High8.14.8%-Fix
CVE-2026-1490Critical9.81.2%--
CVE-2021-34561High7.50.9%--
CVE-2020-11091Medium5.80.9%-Fix
CVE-2023-32020Medium5.60.7%-Fix

Common questions

How do I fix CVE-2021-22884?

Published advisories record a fix for 7 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-22884 being actively exploited?

Not that we know of. CVE-2021-22884 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 32.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 98% of all scored CVEs.

How severe is CVE-2021-22884?

CVE-2021-22884 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-22884 affect?

Published advisories record a fix for nodejs (Debian), libnode-dev (Ubuntu), libnode64 (Ubuntu), nodejs (Ubuntu), and 3 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-22884
CVE-2021-22884 severity badge

Markdown

[![CVE-2021-22884](https://tridentstack.com/cve/badge/CVE-2021-22884.svg)](https://tridentstack.com/cve/CVE-2021-22884)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-22884"><img src="https://tridentstack.com/cve/badge/CVE-2021-22884.svg" alt="CVE-2021-22884"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.