CVE-2021-22884 in the critical feed json
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 “…
published 2021-03-03 5 y ago modified 2026-10-16 24 d ago also BIT-node-2021-22884 , BIT-node-min-2021-22884 , EUVD-2021-10017
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 36.8%
- EPSS 36.8% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami node 10.24.0, 12.21.0, 14.16.0, 15.10.0
- bitnami node-min 10.24.0, 12.21.0, 14.16.0, 15.10.0
- NodeJS Node 10.24.0, 12.21.0, 14.16.0, 15.10.0
- nodejs Debian 14, Debian 13, Debian 12 12.21.0~dfsg-1
debian advisories DEBIAN-CVE-2021-22884
- nodejs Ubuntu 20.04 LTS 10.19.0~dfsg-3ubuntu1.2
- nodejs Ubuntu Pro 18.04 LTS 8.10.0~dfsg-2ubuntu0.4+esm3
ubuntu advisories UBUNTU-CVE-2021-22884
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- npm RHEL 8 1:6.14.11-1.12.21.0.1.module+el8.3.0+10191+34fb5a07
- nodejs RHEL 8 1:12.21.0-1.module+el8.3.0+10191+34fb5a07
- nodejs-nodemon RHEL 8 2.0.3-1.module+el8.3.0+9715+1718613f
- nodejs-full-i18n RHEL 8 1:12.21.0-1.module+el8.3.0+10191+34fb5a07
- nodejs-packaging RHEL 8, RHEL 8.2 EUS, RHEL 8.1 EUS 17-3.module+el8.1.0+3369+37ae6a45
- npm RHEL 8 1:6.14.11-1.10.24.0.1.module+el8.3.0+10166+b07ac28e
- nodejs RHEL 8 1:10.24.0-1.module+el8.3.0+10166+b07ac28e
- nodejs-nodemon RHEL 8, RHEL 8.2 EUS, RHEL 8.1 EUS 1.18.3-1.module+el8+2632+6c5111ed
red hat advisories RHSA-2021:0734RHSA-2021:0735RHSA-2021:0827RHSA-2021:0831RHSA-2021:0739RHSA-2021:0830
- nodejs8 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +10 more 8.17.0-3.47.2
- nodejs-common SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +11 more 2.0-3.2.1
- nodejs8 SLE Module for Web and Scripting 15 SP2 8.17.0-10.9.2
- nodejs10 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +11 more 10.24.0-1.33.2
- nodejs10 SLE Module for Web and Scripting 12 10.24.0-1.36.2
- nodejs12 SLE Module for Web and Scripting 15 SP2 12.21.0-4.13.2
- nodejs14 SLE Module for Web and Scripting 12 14.16.0-6.9.2
- nodejs12 SLE Module for Web and Scripting 12 12.21.0-1.29.2
suse advisories SUSE-SU-2021:2620-1SUSE-SU-2021:0686-1SUSE-SU-2021:0674-1SUSE-SU-2021:0673-1SUSE-SU-2021:0651-1SUSE-SU-2021:0650-1
- nodejs14 openSUSE Tumbleweed 14.17.5-1.2
- nodejs8 openSUSE Leap 15.2 8.17.0-lp152.3.11.1
- nodejs10 openSUSE Leap 15.2 10.24.0-lp152.2.12.1
- nodejs12 openSUSE Leap 15.2 12.21.0-lp152.3.12.1
- nodejs14 openSUSE Leap 15.2 14.16.0-lp152.8.1
opensuse advisories openSUSE-SU-2024:11096-1openSUSE-SU-2021:0389-1openSUSE-SU-2021:0372-1openSUSE-SU-2021:0357-1openSUSE-SU-2021:0356-1
- nodejs-nodemon AlmaLinux 8 2.0.3-1.module_el8.4.0+2521+c668cc9f
- nodejs-packaging AlmaLinux 8 23-3.module_el8.5.0+254+b4526b16
- nodejs-packaging AlmaLinux 8 23-3.module_el8.4.0+2522+3bd42762
- npm AlmaLinux 8 1:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d3
- npm AlmaLinux 8 1:6.14.11-1.10.24.0.1.module_el8.3.0+2047+b07ac28e
- npm AlmaLinux 8 1:6.14.11-1.10.24.0.1.module_el8.4.0+2224+b07ac28e
- nodejs AlmaLinux 8 1:10.24.0-1.module_el8.5.0+81+7dbe79d3
- nodejs AlmaLinux 8 1:10.24.0-1.module_el8.3.0+2047+b07ac28e
almalinux advisories ALSA-2021:0744ALSA-2021:0735ALSA-2021:0734
- nodejs Rocky Linux 8 1:14.16.0-2.module+el8.3.0+100+234774f7
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.6.0+982+9fdca2d4
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.3.0+100+234774f7
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.4.0+638+5344c6f7
- nodejs-packaging Rocky Linux 8 23-3.module+el8.7.0+1071+4bdda2a8
- nodejs-packaging Rocky Linux 8 23-3.module+el8.3.0+100+234774f7
- nodejs-packaging Rocky Linux 8 23-3.module+el8.5.0+733+de4fee6c
- nodejs Rocky Linux 8 1:10.24.0-1.module+el8.3.0+101+f84c7154
rocky linux advisories RLSA-2021:0744RLSA-2021:0735RLSA-2021:0734
- nodejs Alpine 3.12, Alpine 3.11 12.21.0-r0
- nodejs Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 14.16.0-r0
- nodejs-current Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 15.10.0-r0
alpine advisories ALPINE-CVE-2021-22884
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nodejs Arch Linux 15.10.0-1
arch linux advisories AVG-1604
- nodejs.org/en/blog/vulnerability/february-2021-security-releases/ advisory
- nodejs.org/en/blog/vulnerability/march-2018-security-releases/#node-j… advisory
- oracle.com/security-alerts/cpuApr2021.html advisory
- oracle.com//security-alerts/cpujul2021.html advisory
- oracle.com/security-alerts/cpuoct2021.html advisory
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-22884 updated cvss 7.5
nodejs: DNS rebinding in --inspect
-
Red Hat Quay 3 quay/quay-rhel8affected: workaround, no fix planned “Ensure that 'localhost6' is part of /etc/hosts. e.g.: ``` $ grep localhost6 /etc/hosts ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 ```”
-
Red Hat Enterprise Linux AppStream (v. 8) nodejs 10.24.0-1.module+el8.3.0+10166+b07ac28e, nodejs 12.21.0-1.module+el8.3.0+10191+34fb5a07, nodejs 14.16.0-2.module+el8.3.0+10180+b92e1eb6, nodejs-packaging 17-3.module+el8+2873+aa7dfd9a, nodejs-nodemon 1.18.3-1.module+el8+2632+6c5111ed, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, +9 morefixed: vendor fix “Ensure that 'localhost6' is part of /etc/hosts. e.g.: ``` $ grep localhost6 /etc/hosts ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 ```” RHSA-2021:0735
-
Red Hat Enterprise Linux AppStream EUS (v. 8.1) nodejs 10.24.0-1.module+el8.1.0+10161+5cffdac6, nodejs 12.21.0-1.module+el8.1.0+10194+d5e49c90, nodejs-packaging 17-3.module+el8+2873+aa7dfd9a, nodejs-nodemon 1.18.3-1.module+el8+2632+6c5111ed, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, nodejs-nodemon 1.18.3-1.module+el8.1.0+3369+37ae6a45, +4 morefixed: vendor fix “Ensure that 'localhost6' is part of /etc/hosts. e.g.: ``` $ grep localhost6 /etc/hosts ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 ```” RHSA-2021:0741
-
Red Hat Enterprise Linux AppStream EUS (v. 8.2) nodejs 10.24.0-1.module+el8.2.0+10165+019e8570, nodejs 12.21.0-1.module+el8.2.0+10192+8959c43b, nodejs-packaging 17-3.module+el8+2873+aa7dfd9a, nodejs-nodemon 1.18.3-1.module+el8+2632+6c5111ed, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, nodejs-nodemon 1.18.3-1.module+el8.1.0+3369+37ae6a45, +4 morefixed: vendor fix “Ensure that 'localhost6' is part of /etc/hosts. e.g.: ``` $ grep localhost6 /etc/hosts ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 ```” RHSA-2021:0738
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs10-nodejs 10.24.0-1.el7, rh-nodejs12-nodejs 12.21.0-1.el7, rh-nodejs14-nodejs 14.16.0-1.el7, rh-nodejs10-npm 6.14.11-10.24.0.1.el7, rh-nodejs12-npm 6.14.11-12.21.0.1.el7, rh-nodejs14-npm 6.14.11-14.16.0.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs10-nodejs 10.24.0-1.el7, rh-nodejs12-nodejs 12.21.0-1.el7, rh-nodejs14-nodejs 14.16.0-1.el7, rh-nodejs10-npm 6.14.11-10.24.0.1.el7, rh-nodejs12-npm 6.14.11-12.21.0.1.el7, rh-nodejs14-npm 6.14.11-14.16.0.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs10-nodejs 10.24.0-1.el7, rh-nodejs12-nodejs 12.21.0-1.el7, rh-nodejs14-nodejs 14.16.0-1.el7, rh-nodejs10-npm 6.14.11-10.24.0.1.el7, rh-nodejs12-npm 6.14.11-12.21.0.1.el7, rh-nodejs14-npm 6.14.11-14.16.0.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs10-nodejs 10.24.0-1.el7, rh-nodejs12-nodejs 12.21.0-1.el7, rh-nodejs14-nodejs 14.16.0-1.el7, rh-nodejs10-npm 6.14.11-10.24.0.1.el7, rh-nodejs12-npm 6.14.11-12.21.0.1.el7, rh-nodejs14-npm 6.14.11-14.16.0.1.el7fixed: vendor fix “Ensure that 'localhost6' is part of /etc/hosts. e.g.: ``` $ grep localhost6 /etc/hosts ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 ```” RHSA-2021:0827
-
Red Hat Enterprise Linux 9 npm, nodejs, nodejs-libs, nodejs-full-i18nnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-22-069-09 updated cvss 7.5
Siemens SINEC INS
-
Siemens SINEC INS <V1.0.1.1affected: fixed in V1.0.1.1 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
36.84% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/1069487 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | node | >=10.0.0, <10.24.0 >=12.0.0, <12.21.0 >=14.0.0, <14.16.0 >=15.0.0, <15.10.0 |
10.24.0 12.21.0 14.16.0 15.10.0 |
| bitnami | node-min | >=10.0.0, <10.24.0 >=12.0.0, <12.21.0 >=14.0.0, <14.16.0 >=15.0.0, <15.10.0 |
10.24.0 12.21.0 14.16.0 15.10.0 |
Affected products
- NodeJS Node
Classification
- Weakness
-
- CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action
- Technology feeds
References
-
nodejs.org
/en/blog/vulnerability/february-2021-security-releases/
patch, release-notes, vendor-advisory, advisory
-
nodejs.org
/en/blog/vulnerability/march-2018-security-releases/#node-js-inspector-dns-rebinding-vulnerability-cve-2018-71
patch, release-notes, vendor-advisory, advisory
-
oracle.com
/security-alerts/cpuApr2021.html
patch, third-party-advisory, advisory
-
oracle.com
//security-alerts/cpujul2021.html
patch, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpuoct2021.html
patch, third-party-advisory, advisory
-
cert-portal.siemens.com
/productcert/pdf/ssa-389290.pdf
patch, third-party-advisory
-
hackerone.com
/reports/1069487
exploit, issue-tracking, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/E4FRS5ZVK4ZQ7XIJQNGIKUXG2DJFHLO7/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/F45Y7TXSU33MTKB6AGL2Q5V5ZOCNPKOG/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/HSYFUGKFUSZ27M5TEZ3FKILWTWFJTFAZ/
vendor-advisory, web
-
security.netapp.com
/advisory/ntap-20210416-0001/
third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20210723-0001/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-22884
web
Sources
- CVE List CVE-2021-22884
- NVD CVE-2021-22884
- OSV BIT-node-2021-22884
- OSV BIT-node-min-2021-22884
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.