CVE-2021-22884

State
Published
Severity
Not scored
Published
Mar 3, 2021
Updated
Apr 30, 2025
Reserved
Jan 6, 2021

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action (CWE-350)

Affected Products

ProductVersions
NodeNodeJS
  • 4.0 to before 4.*Affected
  • 5.0 to before 5.*Affected
  • 6.0 to before 6.*Affected
  • 7.0 to before 7.*Affected
  • 8.0 to before 8.*Affected
  • 9.0 to before 9.*Affected
  • 10.0 to before 10.24.0Affected
  • 11.0 to before 11.*Affected
  • 12.0 to before 12.21.0Affected
  • 13.0 to before 13.*Affected
  • 14.0 to before 14.16.0Affected
  • 15.0 to before 15.10.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.