
CVE catalog
CVE-2021-22884
nodejs: CVE-2021-22884
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 36.84% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nodejs | sid | 24.22.1+dfsg+~cs24.19.2-1 | fixed |
| Debian | nodejs | forky | 24.21.0+dfsg+~cs24.13.4-1 | fixed |
| Debian | nodejs | trixie | 20.19.2+dfsg-1+deb13u2 | fixed |
| Debian | nodejs | trixie-security | 20.19.2+dfsg-1+deb13u3 | fixed |
| Debian | nodejs | bookworm | 18.20.4+dfsg-1~deb12u2 | fixed |
| Debian | nodejs | bookworm-security | 18.20.4+dfsg-1~deb12u3 | fixed |
| Bitnami | node | Not reported | 10.24.0 | fixed |
| Bitnami | node | Not reported | 12.21.0 | fixed |
| Bitnami | node | Not reported | 14.16.0 | fixed |
| Bitnami | node | Not reported | 15.10.0 | fixed |
| Bitnami | node-min | Not reported | 10.24.0 | fixed |
| Bitnami | node-min | Not reported | 12.21.0 | fixed |
| Bitnami | node-min | Not reported | 14.16.0 | fixed |
| Bitnami | node-min | Not reported | 15.10.0 | fixed |
| Alpine | nodejs | 3.11 | 12.21.0-r0 | fixed |
| Alpine | nodejs | 3.12 | 12.21.0-r0 | fixed |
| Alpine | nodejs | 3.13 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.14 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.15 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.16 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.17 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.18 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.19 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.20 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.21 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.22 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.23 | 14.16.0-r0 | fixed |
| Alpine | nodejs | 3.24 | 14.16.0-r0 | fixed |
| Ubuntu | nodejs | pro | 6.11.4~dfsg-1ubuntu1 | vulnerable |
| Ubuntu | nodejs | pro | 6.11.4~dfsg-1ubuntu2 | vulnerable |
| Ubuntu | nodejs | pro | 6.12.0~dfsg-1ubuntu1 | vulnerable |
| Ubuntu | nodejs | pro | 6.12.0~dfsg-2ubuntu1 | vulnerable |
| Ubuntu | nodejs | pro | 6.12.0~dfsg-2ubuntu2 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.2 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.3 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.4 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.4+esm1 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.4+esm2 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.4+esm3 | fixed |
| Ubuntu | nodejs | 20.04 | 10.15.2~dfsg-2ubuntu1 | vulnerable |
| Ubuntu | nodejs | 20.04 | 10.17.0~dfsg-2ubuntu4 | vulnerable |
| Ubuntu | nodejs | 20.04 | 10.17.0~dfsg-2ubuntu6 | vulnerable |
| Ubuntu | nodejs | 20.04 | 10.19.0~dfsg-3ubuntu1 | vulnerable |
| Ubuntu | nodejs | 20.04 | 10.19.0~dfsg-3ubuntu1.1 | vulnerable |
| Ubuntu | nodejs | 20.04 | 10.19.0~dfsg-3ubuntu1.2 | fixed |
| Suse | nodejs8 | linux enterprise module for web and scripting 15 sp2 | 8.17.0-10.9.2 | fixed |
| Opensuse | nodejs8 | leap 15.2 | 8.17.0-lp152.3.11.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nodejs | source | sid | 12.21.0~dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | forky | 12.21.0~dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | trixie | 12.21.0~dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | nodejs | source | bookworm | 12.21.0~dfsg-1 | not yet assigned | Not reported | Not reported |
| Bitnami | node | Bitnami | Not reported | 10.24.0 | Not reported | BIT-NODE-2021-22884 | Not reported |
| Bitnami | node | Bitnami | Not reported | 12.21.0 | Not reported | BIT-NODE-2021-22884 | Not reported |
| Bitnami | node | Bitnami | Not reported | 14.16.0 | Not reported | BIT-NODE-2021-22884 | Not reported |
| Bitnami | node | Bitnami | Not reported | 15.10.0 | Not reported | BIT-NODE-2021-22884 | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 10.24.0 | Not reported | BIT-NODE-MIN-2021-22884 | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 12.21.0 | Not reported | BIT-NODE-MIN-2021-22884 | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 14.16.0 | Not reported | BIT-NODE-MIN-2021-22884 | Not reported |
| Bitnami | node-min | Bitnami | Not reported | 15.10.0 | Not reported | BIT-NODE-MIN-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.11 | 12.21.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.12 | 12.21.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.13 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.14 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.15 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.16 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.17 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.18 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.19 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.20 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.21 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.22 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.23 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Alpine | nodejs | apk | 3.24 | 14.16.0-r0 | Not reported | ALPINE-CVE-2021-22884 | Not reported |
| Ubuntu | nodejs | deb | pro | 8.10.0~dfsg-2ubuntu0.4+esm3 | Not reported | UBUNTU-CVE-2021-22884 | Not reported |
| Ubuntu | nodejs | deb | 20.04 | 10.19.0~dfsg-3ubuntu1.2 | Not reported | UBUNTU-CVE-2021-22884 | Not reported |
| Suse | nodejs8 | rpm | linux enterprise module for web and scripting 15 sp2 | 8.17.0-10.9.2 | Not reported | SUSE-SU-2021:0686-1 | Not reported |
| Opensuse | nodejs8 | rpm | leap 15.2 | 8.17.0-lp152.3.11.1 | Not reported | OPENSUSE-SU-2021:0389-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libnode108]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [libnode-dev]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [nodejs]Unknown
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [nodejs-doc]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
[Debian 13 (Trixie)]
- [libnode115]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
- [libnode-dev]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
- [nodejs]Unknown
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
- [nodejs-doc]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
12.21.0~dfsg-1dsa · nodejs · debian · 13
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-389290.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_0734.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-22884]
- [https://osv.dev/vulnerability/BIT-node-min-2021-22884]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-22884]
- [https://osv.dev/vulnerability/SUSE-SU-2021:0686-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-22884]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:0389-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-22884]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-22884.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2023-0485.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]