Node.js 14 and 3 others: Reliance on Reverse DNS Resolution for a Security-Critical Action (CWE-350)
CVE-2021-22884 is fixed in 12 products on 2 platforms, first by Node.js 10 10.24.0, released February 23, 2021. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| Node.js 10 | 10.24.0 | Node.js 10 10.24.0 | Feb 23, 2021 |
| Node.js 12 | 12.21.0 | Node.js 12 12.21.0 | Feb 23, 2021 |
| Node.js 14 | 14.16.0 | Node.js 14 14.16.0 | Feb 23, 2021 |
| Node.js 15 | 15.10.0 | Node.js 15 15.10.0 | Feb 23, 2021 |
| Linux | |||
| libnode64 · Ubuntu 20.04 LTS (focal) | 10.19.0~dfsg-3ubuntu1.2 | libnode64 10.19.0~dfsg-3ubuntu1.2 | Mar 3, 2021 |
| nodejs · RHEL 8 | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 | RHSA-2021:0744 | Mar 8, 2021 |
| nodejs · Ubuntu 18.04.6 LTS (bionic) | 8.10.0~dfsg-2ubuntu0.4+esm3 | nodejs 8.10.0~dfsg-2ubuntu0.4+esm3 | Mar 3, 2021 |
| nodejs · Ubuntu 20.04 LTS (focal) | 10.19.0~dfsg-3ubuntu1.2 | nodejs 10.19.0~dfsg-3ubuntu1.2 | Mar 3, 2021 |
| nodejs · ol 8 | 1:12.21.0-1.module+el8.3.0+9672+c7b0544d | ELSA-2021-0734 | Mar 5, 2021 |
| nodejs-devel · RHEL 8 | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 | RHSA-2021:0744 | Mar 8, 2021 |
| nodejs-devel · ol 8 | 1:12.21.0-1.module+el8.3.0+9672+c7b0544d | ELSA-2021-0734 | Mar 5, 2021 |
| nodejs-docs · RHEL 8 | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 | RHSA-2021:0744 | Mar 8, 2021 |
| nodejs-docs · ol 8 | 1:12.21.0-1.module+el8.3.0+9672+c7b0544d | ELSA-2021-0734 | Mar 5, 2021 |
| nodejs-full-i18n · RHEL 8 | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 | RHSA-2021:0744 | Mar 8, 2021 |
| nodejs-full-i18n · ol 8 | 1:12.21.0-1.module+el8.3.0+9672+c7b0544d | ELSA-2021-0734 | Mar 5, 2021 |
| nodejs-nodemon · RHEL 8 | 0:2.0.3-1.module+el8.3.0+6519+9f98ed83 | RHSA-2021:0744 | Mar 8, 2021 |
| nodejs-nodemon · ol 8 | 0:2.0.3-1.module+el8.3.0+9643+8c99e187 | ELSA-2021-0734 | Mar 5, 2021 |
| nodejs-packaging · RHEL 8 | 0:23-3.module+el8.3.0+6519+9f98ed83 | RHSA-2021:0744 | Mar 8, 2021 |
| nodejs-packaging · ol 8 | 0:17-3.module+el8.1.0+5393+aaf413e3 | ELSA-2021-0734 | Mar 5, 2021 |
| npm · RHEL 8 | 1:6.14.11-1.14.16.0.2.module+el8.3.0+10180+b92e1eb6 | RHSA-2021:0744 | Mar 8, 2021 |
| npm · ol 8 | 1:6.14.11-1.12.21.0.1.module+el8.3.0+9672+c7b0544d | ELSA-2021-0734 | Mar 5, 2021 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.