Skip to main content
← All vulnerabilities
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”.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 10.24.0, 12.21.0, 14.16.0, 15.10.0
None on Exploit-DB, Metasploit or GitHub

Summary

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

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • NodeJS Node

    From 4.0; From 5.0; From 6.0; From 7.0; From 8.0; From 9.0; From 10.0 · fixed in 10.24.0; From 11.0; From 12.0 · fixed in 12.21.0; From 13.0; From 14.0 · fixed in 14.16.0; From 15.0 · fixed in 15.10.0

References 12

hackerone.com

nodejs.org

lists.fedoraproject.org

oracle.com

security.netapp.com

cert-portal.siemens.com