All vulnerabilities

Servers and applications

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”. 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…

Severity
High 7.5
Published
3 Mar 2021
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
10.24.0, 12.21.0, 14.16.0, 15.10.0
Sources
NVD

Affected software

SoftwareAffected versions
Node.jsServers and applications · cpe:a:nodejs:node.js
  • From 10.0.0 before 10.24.0
  • From 12.0.0 before 12.21.0
  • From 14.0.0 before 14.16.0
  • From 15.0.0 before 15.10.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-22884
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-22884