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”.
Noroxi assessment
Priority: Plan (action score 41/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 36.8% (FIRST EPSS); higher than 98.5% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. Special conditions such as timing or configuration are required.
- Fixed version: NodeJS Node 10.24.0, 11.*, 12.21.0.
- Mentioned 6 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Add it to your regular patch cycle. Upgrade to NodeJS Node 10.24.0, 11.*, 12.21.0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2021-01895
- ALSA-2021:0734
- ALSA-2021:0735
- ALSA-2021:0744
- DSA-4863-1
- openSUSE-SU-2021:0356-1
- openSUSE-SU-2021:0357-1
- openSUSE-SU-2021:0372-1
- openSUSE-SU-2021:0389-1
- openSUSE-SU-2024:11096-1
- RHSA-2021:0734
- RHSA-2021:0735
- RHSA-2021:0738
- RHSA-2021:0739
- RHSA-2021:0740
- RHSA-2021:0741
- RHSA-2021:0744
- RHSA-2021:0827
- RHSA-2021:0830
- RHSA-2021:0831
- Published
- Mar 3, 2021
- Updated
- Jun 16, 2026
- EPSS
- 36.8% · 98th percentile
- CWE
- CWE-350
Report tools
Action score
41
Add it to your regular patch cycle.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 11 / 30 · 36.8%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| nodejs | node.js | cpe:2.3:a:nodejs:node.js |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| netapp | active iq unified manager | cpe:2.3:a:netapp:active_iq_unified_manager |
| netapp | e-series performance analyzer | cpe:2.3:a:netapp:e-series_performance_analyzer |
| netapp | oncommand insight | cpe:2.3:a:netapp:oncommand_insight |
| netapp | oncommand workflow automation | cpe:2.3:a:netapp:oncommand_workflow_automation |
| netapp | snapcenter | cpe:2.3:a:netapp:snapcenter |
| oracle | graalvm | cpe:2.3:a:oracle:graalvm |
| oracle | jd edwards enterpriseone tools | cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools |
| oracle | mysql cluster | cpe:2.3:a:oracle:mysql_cluster |
| oracle | nosql database | cpe:2.3:a:oracle:nosql_database |
| oracle | peoplesoft enterprise peopletools | cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools |
and 1 more
Using node.js? Add it to your stack and be the first to know about CVEs like this one. (Node.js)
Versions reported by the vendor
Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.
NodeJS Node
- 4.0 and later · before 4.*affected · semver
- 5.0 and later · before 5.*affected · semver
- 6.0 and later · before 6.*affected · semver
- 7.0 and later · before 7.*affected · semver
- 8.0 and later · before 8.*affected · semver
- 9.0 and later · before 9.*affected · semver
- 10.0 and later · before 10.24.0affected · semver
- 11.0 and later · before 11.*affected · semver
- 12.0 and later · before 12.21.0affected · semver
- 13.0 and later · before 13.*affected · semver
Affected versions · NVD (4)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- nodejs node.js10.0.0 and later · before 10.24.0
- nodejs node.js12.0.0 and later · before 12.21.0
- nodejs node.js14.0.0 and later · before 14.16.0
- nodejs node.js15.0.0 and later · before 15.10.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | nodejs | before 1:10.24.0-1.module_el8.3.0+2047+b07ac28e | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs | before 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux:8 | nodejs | before 1:10.24.0-1.module_el8.4.0+2224+b07ac28e | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux:8 | nodejs-devel | before 1:10.24.0-1.module_el8.3.0+2047+b07ac28e | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs-devel | before 1:10.24.0-1.module_el8.4.0+2224+b07ac28e | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux:8 | nodejs-devel | before 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux:8 | nodejs-docs | before 1:10.24.0-1.module_el8.3.0+2047+b07ac28e | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs-full-i18n | before 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux:8 | nodejs-full-i18n | before 1:10.24.0-1.module_el8.3.0+2047+b07ac28e | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs-full-i18n | before 1:10.24.0-1.module_el8.4.0+2224+b07ac28e | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux:8 | nodejs-nodemon | before 1.18.3-1.module_el8.3.0+2047+b07ac28e | 1.18.3-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs-nodemon | before 2.0.3-1.module_el8.4.0+2521+c668cc9f | 2.0.3-1.module_el8.4.0+2521+c668cc9f |
| AlmaLinux:8 | nodejs-nodemon | before 1.18.3-1.module_el8.3.0+2023+d2377ea3 | 1.18.3-1.module_el8.3.0+2023+d2377ea3 |
| AlmaLinux:8 | nodejs-packaging | before 17-3.module_el8.4.0+2224+b07ac28e | 17-3.module_el8.4.0+2224+b07ac28e |
| AlmaLinux:8 | nodejs-packaging | before 23-3.module_el8.4.0+2522+3bd42762 | 23-3.module_el8.4.0+2522+3bd42762 |
| AlmaLinux:8 | nodejs-packaging | before 23-3.module_el8.5.0+254+b4526b16 | 23-3.module_el8.5.0+254+b4526b16 |
| AlmaLinux:8 | nodejs-packaging | before 17-3.module_el8.3.0+2023+d2377ea3 | 17-3.module_el8.3.0+2023+d2377ea3 |
| AlmaLinux:8 | nodejs-packaging | before 17-3.module_el8.4.0+2521+c668cc9f | 17-3.module_el8.4.0+2521+c668cc9f |
| AlmaLinux:8 | npm | before 1:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d3 | 1:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d3 |
| AlmaLinux:8 | npm | before 1:6.14.11-1.10.24.0.1.module_el8.4.0+2224+b07ac28e | 1:6.14.11-1.10.24.0.1.module_el8.4.0+2224+b07ac28e |
| AlmaLinux:8 | npm | before 1:6.14.11-1.10.24.0.1.module_el8.3.0+2047+b07ac28e | 1:6.14.11-1.10.24.0.1.module_el8.3.0+2047+b07ac28e |
| Alpine:v3.11 | nodejs | before 12.21.0-r0 | 12.21.0-r0 |
| Alpine:v3.13 | nodejs | before 14.16.0-r0 | 14.16.0-r0 |
| Alpine:v3.13 | nodejs-current | before 15.10.0-r0 | 15.10.0-r0 |
+96
Same product
nodejs: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-15605HTTP request smuggling in Node.js 10, 12, and 13 causes malicious payload delivery when transfer-encoding is malformed56Plan
- CVE-2021-22883Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to a denial of service attack when too many connection attempts with an…53Plan
- CVE-2021-22930Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to a use after free attack where an attacker might be able to exploit the memory…50Plan
Published before and after this one in the same product
- ← EarlierCVE-2020-8265Jan 6, 2021 · Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation.35Monitor
- ← EarlierCVE-2020-8287Jan 6, 2021 · Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 allow two copies of a header field in an HTTP request (for example, two…31Monitor
- Later →CVE-2021-22918Jul 12, 2021 · Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII.28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| NodeJS Node | 10.24.0 | Vendor (CNA) |
| NodeJS Node | 11.* | Vendor (CNA) |
| NodeJS Node | 12.21.0 | Vendor (CNA) |
| NodeJS Node | 13.* | Vendor (CNA) |
| NodeJS Node | 14.16.0 | Vendor (CNA) |
| NodeJS Node | 15.10.0 | Vendor (CNA) |
| NodeJS Node | 4.* | Vendor (CNA) |
| NodeJS Node | 5.* | Vendor (CNA) |
| NodeJS Node | 6.* | Vendor (CNA) |
| NodeJS Node | 7.* | Vendor (CNA) |
| NodeJS Node | 8.* | Vendor (CNA) |
| NodeJS Node | 9.* | Vendor (CNA) |
| almalinux:nodejs | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-devel | 1:10.24.0-1.module_el8.4.0+2224+b07ac28e · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-docs | 1:10.24.0-1.module_el8.3.0+2047+b07ac28e · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-full-i18n | 1:10.24.0-1.module_el8.5.0+81+7dbe79d3 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e · AlmaLinux:8 | Package registry (OSV) |
| almalinux:npm | 1:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d3 · AlmaLinux:8 | Package registry (OSV) |
| alpine:nodejs | 12.21.0-r0 · Alpine:v3.11 | Package registry (OSV) |
| alpine:nodejs-current | 15.10.0-r0 · Alpine:v3.13 | Package registry (OSV) |
| debian:nodejs | 12.21.0~dfsg-1 · Debian:12 | Package registry (OSV) |
| opensuse:nodejs10 | 10.24.0-lp152.2.12.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:nodejs12 | 12.21.0-lp152.3.12.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:nodejs14 | 14.16.0-lp152.8.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:nodejs8 | 8.17.0-lp152.3.11.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:nodejs | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-debuginfo | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-debugsource | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:nodejs-devel | 1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
+16
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0215 · Mar 11, 2022(Siemens Güvenlik Bildirimi)
- TR-21-0803 · Oct 5, 2021(IBM Güvenlik Bülteni)
- TR-21-0612 · Aug 5, 2021(IBM Güvenlik Bülteni Yayınladı)
- TR-21-0484 · Jun 16, 2021(IBM Güvenlik Bülteni Yayınladı)
- TR-21-0372 · May 3, 2021(IBM Güvenlik Bülteni Yayınladı)
- TR-21-0331 · Apr 21, 2021(Oracle Güvenlik Uyarısı Yayınladı)
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-350 · Reliance on Reverse DNS Resolution for a Security-Critical ActionCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E4FRS5ZVK4ZQ7XIJQNGIKUXG2DJFHLO7/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F45Y7TXSU33MTKB6AGL2Q5V5ZOCNPKOG/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSYFUGKFUSZ27M5TEZ3FKILWTWFJTFAZ/
- nodejs.org/en/blog/vulnerability/february-2021-security-releases/
- nodejs.org/en/blog/vulnerability/march-2018-security-releases/#node-js-inspector-dns-rebinding-vulnerability-cve-2018-7160
- security.netapp.com/advisory/ntap-20210416-0001/
- security.netapp.com/advisory/ntap-20210723-0001/
- www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com/security-alerts/cpuApr2021.html
- www.oracle.com/security-alerts/cpuoct2021.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.