First published: Thu Feb 18 2021(Updated: )
A flaw was found in nodejs. A denial of service is possible when the whitelist includes “localhost6”. When “localhost6” is not present in /etc/hosts, it is just an ordinary domain that is resolved via DNS over the 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.
Credit: support@hackerone.com support@hackerone.com
Affected Software | Affected Version | How to fix |
---|---|---|
ubuntu/nodejs | <8.10.0~dfsg-2ubuntu0.4+ | 8.10.0~dfsg-2ubuntu0.4+ |
ubuntu/nodejs | <10.19.0~dfsg-3ubuntu1.2 | 10.19.0~dfsg-3ubuntu1.2 |
ubuntu/nodejs | <12.21.0~dfsg-1 | 12.21.0~dfsg-1 |
debian/nodejs | 10.24.0~dfsg-1~deb10u1 10.24.0~dfsg-1~deb10u3 12.22.12~dfsg-1~deb11u4 18.13.0+dfsg1-1 | |
redhat/rh-nodejs10-nodejs | <0:10.24.0-1.el7 | 0:10.24.0-1.el7 |
redhat/rh-nodejs14-nodejs | <0:14.16.0-1.el7 | 0:14.16.0-1.el7 |
redhat/rh-nodejs12-nodejs | <0:12.21.0-1.el7 | 0:12.21.0-1.el7 |
redhat/node | <15.10.0 | 15.10.0 |
redhat/node | <14.16.0 | 14.16.0 |
redhat/node | <12.21.0 | 12.21.0 |
redhat/node | <10.24.0 | 10.24.0 |
Nodejs Node.js | >=10.0.0<10.24.0 | |
Nodejs Node.js | >=12.0.0<12.21.0 | |
Nodejs Node.js | >=14.0.0<14.16.0 | |
Nodejs Node.js | >=15.0.0<15.10.0 | |
Fedoraproject Fedora | =32 | |
Fedoraproject Fedora | =33 | |
Fedoraproject Fedora | =34 | |
Netapp Active Iq Unified Manager Vmware Vsphere | ||
Netapp Active Iq Unified Manager Windows | ||
Netapp E-series Performance Analyzer | ||
NetApp OnCommand Insight | ||
NetApp OnCommand Workflow Automation | ||
Netapp Snapcenter | ||
Oracle GraalVM | =19.3.5 | |
Oracle GraalVM | =20.3.1.2 | |
Oracle GraalVM | =21.0.0.2 | |
Oracle Jd Edwards Enterpriseone Tools | <9.2.6.0 | |
Oracle MySQL Cluster | <=8.0.25 | |
Oracle Nosql Database | <20.3 | |
Oracle PeopleSoft Enterprise PeopleTools | =8.58 | |
Oracle PeopleSoft Enterprise PeopleTools | =8.59 | |
Siemens Sinec Infrastructure Network Services | <1.0.1.1 | |
IBM Cloud Pak for Security (CP4S) | <=1.6.0.1 | |
IBM Cloud Pak for Security (CP4S) | <=1.6.0.0 | |
IBM Cloud Pak for Security (CP4S) | <=1.5.0.1 | |
IBM Cloud Pak for Security (CP4S) | <=1.5.0.0 | |
IBM Cloud Pak for Security (CP4S) | <=1.4.0.0 |
Ensure that 'localhost6' is part of /etc/hosts. e.g.: ``` $ grep localhost6 /etc/hosts ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 ```
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
The vulnerability ID is CVE-2021-22884.
The severity of CVE-2021-22884 is high with a severity value of 7.
The affected software versions are Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0.
CVE-2021-22884 affects Node.js by making it vulnerable to DNS rebinding attacks.
To fix CVE-2021-22884, update Node.js to version 10.24.0, 12.21.0, 14.16.0, or 15.10.0 depending on the version you are using.