# CVE-2021-22884: 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.

- Web page: https://patchblox.com/security/cve/CVE-2021-22884
- Priority: High
- CVSS: 7.5 (Important)
- EPSS: 0.3684
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 3, 2021
- Weakness: CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action (CWE-350)
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-22884

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Node.js 10 | 10.24.0 | [Node.js 10 10.24.0](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.10-10.24.0.md) | Feb 23, 2021 |
| Windows apps | Node.js 12 | 12.21.0 | [Node.js 12 12.21.0](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.12-12.21.0.md) | Feb 23, 2021 |
| Windows apps | Node.js 14 | 14.16.0 | [Node.js 14 14.16.0](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.14-14.16.0.md) | Feb 23, 2021 |
| Windows apps | Node.js 15 | 15.10.0 | [Node.js 15 15.10.0](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.15-15.10.0.md) | Feb 23, 2021 |
| Linux | libnode64 Ubuntu 20.04 LTS (focal) | 10.19.0~dfsg-3ubuntu1.2 | [libnode64 10.19.0~dfsg-3ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libnode64-10.19.0-dfsg-3ubuntu1.2.md) | Mar 3, 2021 |
| Linux | nodejs RHEL 8 | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 | [RHSA-2021:0744](https://patchblox.com/security/data/fix/linux/rhsa-2021-0744.md) | Mar 8, 2021 |
| Linux | nodejs Ubuntu 18.04.6 LTS (bionic) | 8.10.0~dfsg-2ubuntu0.4+esm3 | [nodejs 8.10.0~dfsg-2ubuntu0.4+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-nodejs-8.10.0-dfsg-2ubuntu0.4-esm3.md) | Mar 3, 2021 |
| Linux | nodejs Ubuntu 20.04 LTS (focal) | 10.19.0~dfsg-3ubuntu1.2 | [nodejs 10.19.0~dfsg-3ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-nodejs-10.19.0-dfsg-3ubuntu1.2.md) | Mar 3, 2021 |
| Linux | nodejs ol 8 | 1:12.21.0-1.module+el8.3.0+9672+c7b0544d | [ELSA-2021-0734](https://patchblox.com/security/data/fix/linux/elsa-2021-0734.md) | Mar 5, 2021 |
| Linux | nodejs-devel RHEL 8 | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 | [RHSA-2021:0744](https://patchblox.com/security/data/fix/linux/rhsa-2021-0744.md) | Mar 8, 2021 |
| Linux | nodejs-devel ol 8 | 1:12.21.0-1.module+el8.3.0+9672+c7b0544d | [ELSA-2021-0734](https://patchblox.com/security/data/fix/linux/elsa-2021-0734.md) | Mar 5, 2021 |
| Linux | nodejs-docs RHEL 8 | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 | [RHSA-2021:0744](https://patchblox.com/security/data/fix/linux/rhsa-2021-0744.md) | Mar 8, 2021 |
| Linux | nodejs-docs ol 8 | 1:12.21.0-1.module+el8.3.0+9672+c7b0544d | [ELSA-2021-0734](https://patchblox.com/security/data/fix/linux/elsa-2021-0734.md) | Mar 5, 2021 |
| Linux | nodejs-full-i18n RHEL 8 | 1:14.16.0-2.module+el8.3.0+10180+b92e1eb6 | [RHSA-2021:0744](https://patchblox.com/security/data/fix/linux/rhsa-2021-0744.md) | Mar 8, 2021 |
| Linux | nodejs-full-i18n ol 8 | 1:12.21.0-1.module+el8.3.0+9672+c7b0544d | [ELSA-2021-0734](https://patchblox.com/security/data/fix/linux/elsa-2021-0734.md) | Mar 5, 2021 |
| Linux | nodejs-nodemon RHEL 8 | 0:2.0.3-1.module+el8.3.0+6519+9f98ed83 | [RHSA-2021:0744](https://patchblox.com/security/data/fix/linux/rhsa-2021-0744.md) | Mar 8, 2021 |
| Linux | nodejs-nodemon ol 8 | 0:2.0.3-1.module+el8.3.0+9643+8c99e187 | [ELSA-2021-0734](https://patchblox.com/security/data/fix/linux/elsa-2021-0734.md) | Mar 5, 2021 |
| Linux | nodejs-packaging RHEL 8 | 0:23-3.module+el8.3.0+6519+9f98ed83 | [RHSA-2021:0744](https://patchblox.com/security/data/fix/linux/rhsa-2021-0744.md) | Mar 8, 2021 |
| Linux | nodejs-packaging ol 8 | 0:17-3.module+el8.1.0+5393+aaf413e3 | [ELSA-2021-0734](https://patchblox.com/security/data/fix/linux/elsa-2021-0734.md) | Mar 5, 2021 |
| Linux | npm RHEL 8 | 1:6.14.11-1.14.16.0.2.module+el8.3.0+10180+b92e1eb6 | [RHSA-2021:0744](https://patchblox.com/security/data/fix/linux/rhsa-2021-0744.md) | Mar 8, 2021 |
| Linux | npm ol 8 | 1:6.14.11-1.12.21.0.1.module+el8.3.0+9672+c7b0544d | [ELSA-2021-0734](https://patchblox.com/security/data/fix/linux/elsa-2021-0734.md) | Mar 5, 2021 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
