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 ordin...
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- MySQLUbuntuDebian
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.
Upgrade path
45 packages: 36 fixed, 1 partially fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netapp active iq unified manager | All versions | No fix listed | No fix yet |
| netapp e-series performance analyzer | All versions | No fix listed | No fix yet |
| netapp oncommand insight | All versions | No fix listed | No fix yet |
| netapp oncommand workflow automation | All versions | No fix listed | No fix yet |
| netapp snapcenter | All versions | No fix listed | No fix yet |
| nodejs node | >= 4.0; >= 5.0; >= 6.0; >= 7.0 +8 more | 10.24.0, 12.21.0, 14.16.0, 15.10.0 | Partially fixed |
| alpine/nodejs(Alpine v3.11) | < 12.21.0-r0 | 12.21.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.12) | < 12.21.0-r0 | 12.21.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.13) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.14) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.15) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.16) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.17) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.18) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.19) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.20) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.21) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.22) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.23) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs(Alpine v3.24) | < 14.16.0-r0 | 14.16.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.13) | < 15.10.0-r0 | 15.10.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.14) | < 15.10.0-r0 | 15.10.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.15) | < 15.10.0-r0 | 15.10.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.16) | < 15.10.0-r0 | 15.10.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.17) | < 15.10.0-r0 | 15.10.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.18) | < 15.10.0-r0 | 15.10.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.19) | < 15.10.0-r0 | 15.10.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.20) | < 15.10.0-r0 | 15.10.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.21) | < 15.10.0-r0 | 15.10.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.22) | < 15.10.0-r0 | 15.10.0-r0 | Fixed |
… and 15 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nodejs(Debian:12) | < 12.21.0~dfsg-1 | 12.21.0~dfsg-1 |
| debian/nodejs(Debian:13) | < 12.21.0~dfsg-1 | 12.21.0~dfsg-1 |
| debian/nodejs(Debian:14) | < 12.21.0~dfsg-1 | 12.21.0~dfsg-1 |
| nodejs node.js | >= 10.0.0, < 10.24.0 | 10.24.0 |
| nodejs node.js | >= 12.0.0, < 12.21.0 | 12.21.0 |
| nodejs node.js | >= 14.0.0, < 14.16.0 | 14.16.0 |
| nodejs node.js | >= 15.0.0, < 15.10.0 | 15.10.0 |
| fedoraproject fedora | = 32 | No fix listed |
| fedoraproject fedora | = 33 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| netapp active iq unified manager | All versions | No fix listed |
| netapp e-series performance analyzer | All versions | No fix listed |
| netapp oncommand insight | All versions | No fix listed |
| netapp oncommand workflow automation | All versions | No fix listed |
| netapp snapcenter | All versions | No fix listed |
| oracle graalvm | = 19.3.5 | No fix listed |
| oracle graalvm | = 20.3.1.2 | No fix listed |
| oracle graalvm | = 21.0.0.2 | No fix listed |
| oracle JD Edwards EnterpriseOne Tools | < 9.2.6.0 | 9.2.6.0 |
| oracle MySQL Cluster | <= 8.0.25 | No fix listed |
| oracle nosql database | < 20.3 | 20.3 |
| oracle PeopleSoft Enterprise PeopleTools | = 8.58 | No fix listed |
| oracle PeopleSoft Enterprise PeopleTools | = 8.59 | No fix listed |
| Siemens sinec infrastructure network services | < 1.0.1.1 | 1.0.1.1 |
| alpine/nodejs(Alpine:v3.11) | < 12.21.0-r0 | 12.21.0-r0 |
Show 55 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/nodejs(Alpine:v3.12) | < 12.21.0-r0 | 12.21.0-r0 |
| alpine/nodejs(Alpine:v3.13) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.14) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.15) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.16) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.17) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.18) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.19) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.20) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.21) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.22) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.23) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs(Alpine:v3.24) | < 14.16.0-r0 | 14.16.0-r0 |
| alpine/nodejs-current(Alpine:v3.13) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.14) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.15) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.16) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.17) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.18) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.19) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.20) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.21) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.22) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.23) | < 15.10.0-r0 | 15.10.0-r0 |
| alpine/nodejs-current(Alpine:v3.24) | < 15.10.0-r0 | 15.10.0-r0 |
| nodejs node | >= 4.0 | No fix listed |
| nodejs node | >= 5.0 | No fix listed |
| nodejs node | >= 6.0 | No fix listed |
| nodejs node | >= 7.0 | No fix listed |
| nodejs node | >= 8.0 | No fix listed |
| nodejs node | >= 9.0 | No fix listed |
| nodejs node | >= 10.0, < 10.24.0 | 10.24.0 |
| nodejs node | >= 11.0 | No fix listed |
| nodejs node | >= 12.0, < 12.21.0 | 12.21.0 |
| nodejs node | >= 13.0 | No fix listed |
| nodejs node | >= 14.0, < 14.16.0 | 14.16.0 |
| nodejs node | >= 15.0, < 15.10.0 | 15.10.0 |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | < 8.10.0~dfsg-2ubuntu0.4+esm3 | 8.10.0~dfsg-2ubuntu0.4+esm3 |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 6.11.4~dfsg-1ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 6.11.4~dfsg-1ubuntu2 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 6.12.0~dfsg-1ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 6.12.0~dfsg-2ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 6.12.0~dfsg-2ubuntu2 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.2 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.3 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.4 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.4+esm1 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.4+esm2 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | < 10.19.0~dfsg-3ubuntu1.2 | 10.19.0~dfsg-3ubuntu1.2 |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.15.2~dfsg-2ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.17.0~dfsg-2ubuntu4 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.17.0~dfsg-2ubuntu6 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.19.0~dfsg-3ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.19.0~dfsg-3ubuntu1.1 | No fix listed |
References
- Debian Security Tracker CVE-2021-22884 vendor-advisory
- cert-portal.siemens.com patch third-party-advisory
- hackerone.com exploit issue-tracking third-party-advisory
- FEDORA-2021-a760169c3c vendor-advisory
- FEDORA-2021-f6bd75e9d4 vendor-advisory
- FEDORA-2021-6aaba80ba2 vendor-advisory
- nodejs.org issue-tracking patch release-notes vendor-advisory
- nodejs.org patch release-notes vendor-advisory
- security.netapp.com third-party-advisory
- security.netapp.com third-party-advisory
- www.oracle.com patch third-party-advisory
- www.oracle.com patch third-party-advisory
- www.oracle.com patch third-party-advisory
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking