Skip to content
Noroxi
NVD / CVE Program· CNA hackerone

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

HighCVSS 7.5 · v3.1—No exploit Fix available

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.

Published
Mar 3, 2021
Updated
Jun 16, 2026
EPSS
36.8% · 98th percentile

Report tools

JSON

Action score

41

Plan

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.

Follow CVE-2021-22884

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is your version affected? Check it

Noroxi 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 help

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

VendorProduct
nodejsnode.js
fedoraprojectfedora
netappactive iq unified manager
netappe-series performance analyzer
netapponcommand insight
netapponcommand workflow automation
netappsnapcenter
oraclegraalvm
oraclejd edwards enterpriseone tools
oraclemysql cluster
oraclenosql database
oraclepeoplesoft 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)

Watch new CVEs for node.js

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

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

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8nodejsbefore 1:10.24.0-1.module_el8.3.0+2047+b07ac28e1:10.24.0-1.module_el8.3.0+2047+b07ac28e
AlmaLinux:8nodejsbefore 1:10.24.0-1.module_el8.5.0+81+7dbe79d31:10.24.0-1.module_el8.5.0+81+7dbe79d3
AlmaLinux:8nodejsbefore 1:10.24.0-1.module_el8.4.0+2224+b07ac28e1:10.24.0-1.module_el8.4.0+2224+b07ac28e
AlmaLinux:8nodejs-develbefore 1:10.24.0-1.module_el8.3.0+2047+b07ac28e1:10.24.0-1.module_el8.3.0+2047+b07ac28e
AlmaLinux:8nodejs-develbefore 1:10.24.0-1.module_el8.4.0+2224+b07ac28e1:10.24.0-1.module_el8.4.0+2224+b07ac28e
AlmaLinux:8nodejs-develbefore 1:10.24.0-1.module_el8.5.0+81+7dbe79d31:10.24.0-1.module_el8.5.0+81+7dbe79d3
AlmaLinux:8nodejs-docsbefore 1:10.24.0-1.module_el8.3.0+2047+b07ac28e1:10.24.0-1.module_el8.3.0+2047+b07ac28e
AlmaLinux:8nodejs-full-i18nbefore 1:10.24.0-1.module_el8.5.0+81+7dbe79d31:10.24.0-1.module_el8.5.0+81+7dbe79d3
AlmaLinux:8nodejs-full-i18nbefore 1:10.24.0-1.module_el8.3.0+2047+b07ac28e1:10.24.0-1.module_el8.3.0+2047+b07ac28e
AlmaLinux:8nodejs-full-i18nbefore 1:10.24.0-1.module_el8.4.0+2224+b07ac28e1:10.24.0-1.module_el8.4.0+2224+b07ac28e
AlmaLinux:8nodejs-nodemonbefore 1.18.3-1.module_el8.3.0+2047+b07ac28e1.18.3-1.module_el8.3.0+2047+b07ac28e
AlmaLinux:8nodejs-nodemonbefore 2.0.3-1.module_el8.4.0+2521+c668cc9f2.0.3-1.module_el8.4.0+2521+c668cc9f
AlmaLinux:8nodejs-nodemonbefore 1.18.3-1.module_el8.3.0+2023+d2377ea31.18.3-1.module_el8.3.0+2023+d2377ea3
AlmaLinux:8nodejs-packagingbefore 17-3.module_el8.4.0+2224+b07ac28e17-3.module_el8.4.0+2224+b07ac28e
AlmaLinux:8nodejs-packagingbefore 23-3.module_el8.4.0+2522+3bd4276223-3.module_el8.4.0+2522+3bd42762
AlmaLinux:8nodejs-packagingbefore 23-3.module_el8.5.0+254+b4526b1623-3.module_el8.5.0+254+b4526b16
AlmaLinux:8nodejs-packagingbefore 17-3.module_el8.3.0+2023+d2377ea317-3.module_el8.3.0+2023+d2377ea3
AlmaLinux:8nodejs-packagingbefore 17-3.module_el8.4.0+2521+c668cc9f17-3.module_el8.4.0+2521+c668cc9f
AlmaLinux:8npmbefore 1:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d31:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d3
AlmaLinux:8npmbefore 1:6.14.11-1.10.24.0.1.module_el8.4.0+2224+b07ac28e1:6.14.11-1.10.24.0.1.module_el8.4.0+2224+b07ac28e
AlmaLinux:8npmbefore 1:6.14.11-1.10.24.0.1.module_el8.3.0+2047+b07ac28e1:6.14.11-1.10.24.0.1.module_el8.3.0+2047+b07ac28e
Alpine:v3.11nodejsbefore 12.21.0-r012.21.0-r0
Alpine:v3.13nodejsbefore 14.16.0-r014.16.0-r0
Alpine:v3.13nodejs-currentbefore 15.10.0-r015.10.0-r0

+96

Other 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 malformed
    56Plan
  • 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 / packageFixed versionSource
NodeJS Node10.24.0Vendor (CNA)
NodeJS Node11.*Vendor (CNA)
NodeJS Node12.21.0Vendor (CNA)
NodeJS Node13.*Vendor (CNA)
NodeJS Node14.16.0Vendor (CNA)
NodeJS Node15.10.0Vendor (CNA)
NodeJS Node4.*Vendor (CNA)
NodeJS Node5.*Vendor (CNA)
NodeJS Node6.*Vendor (CNA)
NodeJS Node7.*Vendor (CNA)
NodeJS Node8.*Vendor (CNA)
NodeJS Node9.*Vendor (CNA)
almalinux:nodejs1:10.24.0-1.module_el8.5.0+81+7dbe79d3 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-devel1:10.24.0-1.module_el8.4.0+2224+b07ac28e · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-docs1:10.24.0-1.module_el8.3.0+2047+b07ac28e · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-full-i18n1:10.24.0-1.module_el8.5.0+81+7dbe79d3 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-nodemon2.0.3-1.module_el8.4.0+2521+c668cc9f · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-packaging17-3.module_el8.4.0+2224+b07ac28e · AlmaLinux:8Package registry (OSV)
almalinux:npm1:6.14.11-1.10.24.0.1.module_el8.5.0+81+7dbe79d3 · AlmaLinux:8Package registry (OSV)
alpine:nodejs12.21.0-r0 · Alpine:v3.11Package registry (OSV)
alpine:nodejs-current15.10.0-r0 · Alpine:v3.13Package registry (OSV)
debian:nodejs12.21.0~dfsg-1 · Debian:12Package registry (OSV)
opensuse:nodejs1010.24.0-lp152.2.12.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:nodejs1212.21.0-lp152.3.12.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:nodejs1414.16.0-lp152.8.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:nodejs88.17.0-lp152.3.11.1 · openSUSE:Leap 15.2Package registry (OSV)
red hat:nodejs1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-debuginfo1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-debugsource1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:nodejs-devel1:12.21.0-1.module+el8.3.0+10191+34fb5a07 · Red Hat:enterprise_linux:8::appstreamPackage 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.

EPSS, last 120 days

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.

All national notices →

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

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

References

All records