Vulnerabilities · 2021 · Nodejs
CVE-2021-22884
Nodejs Node.js vulnerability
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.
Affected products
Node.js, Fedora, Active Iq Unified Manager, E-series Performance Analyzer, Oncommand Insight, Oncommand Workflow Automation, Snapcenter, Graalvm, Jd Edwards Enterpriseone Tools, Mysql Cluster and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodejs Node.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nodejs.org/en/blog/vulnerability/february-2021-security-releases/ · Patch
- nodejs.org/en/blog/vulnerability/march-2018-security-releases/#node-js-inspector-dns-rebin · Patch
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · Patch
- www.oracle.com//security-alerts/cpujul2021.html · Patch
- www.oracle.com/security-alerts/cpuApr2021.html · Patch
- www.oracle.com/security-alerts/cpuoct2021.html · Patch
- hackerone.com/reports/1069487 · Exploit
- security.netapp.com/advisory/ntap-20210416-0001/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-22884
- cve.org/CVERecord?id=CVE-2021-22884
More vulnerabilities in Nodejs products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.