CVEBrief

Home / NodeJS / Node / CVE-2021-22931

CVE-2021-22931: is it exploited, and which versions of NodeJS Node are affected and fixed?

CVE-2021-22931 is a missing null termination vulnerability in NodeJS Node. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: Node every 4 version, Node every 5 version, Node every 6 version and 10 more (CVE record by hackerone). Fixed in 12.22.5, 14.17.5 and 16.6.2 (CVE record by hackerone). Severity: Critical (9.8, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 28, 2026, 20:17 UTC and NVD November 19, 2026, 07:55 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
Node every 4 version, Node every 5 version, Node every 6 version and 10 more
CVE record by hackerone
Fixed in
12.22.5, 14.17.5 and 16.6.2
CVE record by hackerone
Severity
Critical 9.8
CVSS 3.1 from NVD
Exploit odds (EPSS)
22.0% in 30 days
higher than 98% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-22931?

Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.

From the CVE record by hackerone, last updated April 30, 2025, 22:24 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
NodeJSNodeevery 4 version
every 5 version
every 6 version
every 7 version
every 8 version
every 9 version
every 10 version
every 11 version
from 12.0 before 12.22.5
every 13 version
from 14.0 before 14.17.5
every 15 version
and 1 more ranges
12.22.5, 14.17.5, 16.6.2

As the CVE record by hackerone states it, last updated April 30, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
nodejsnode.jsfrom 12.0.0 through 12.12.0application
nodejsnode.jsfrom 12.13.0 before 12.22.5application
nodejsnode.jsfrom 14.0.0 through 14.14.0application
nodejsnode.jsfrom 14.15.0 before 14.17.5application
nodejsnode.jsfrom 16.0.0 before 16.6.2application
netappactive iq unified managerall versionsapplication
netappnextgen apiall versionsapplication
netapponcommand insightall versionsapplication
netapponcommand workflow automationall versionsapplication
netappsnapcenterall versionsapplication
oraclegraalvm20.3.3application
oraclegraalvm21.2.0application
oraclemysql clusterthrough 8.0.26application
oraclepeoplesoft enterprise peopletools8.57application
oraclepeoplesoft enterprise peopletools8.58application
oraclepeoplesoft enterprise peopletools8.59application
siemenssinec infrastructure network servicesbefore 1.0.1.1application

NVD analysis (status Modified), last modified June 17, 2026, 03:38 UTC.

How severe is CVE-2021-22931?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-22931 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: total (CISA ADP, January 11, 2024)
EPSS
22.0% probability of exploitation activity in the next 30 days, percentile 97.7 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 6, 2021
Published
August 16, 2021, 00:00 UTC
CVE record updated
April 30, 2025, 22:24 UTC by hackerone
NVD
Modified, last modified June 17, 2026, 03:38 UTC
Last checked
CVE list November 28, 2026, 20:17 UTC; NVD November 19, 2026, 07:55 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Node?

Every CVE in Node

Questions about CVE-2021-22931

Is CVE-2021-22931 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 22.0% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of NodeJS Node are affected by CVE-2021-22931?

Node every 4 version, Node every 5 version, Node every 6 version, Node every 7 version, Node every 8 version, Node every 9 version and 7 more, per the CVE record by hackerone. The tables above give every range the sources list.

Which version fixes CVE-2021-22931?

12.22.5, 14.17.5 and 16.6.2, per the CVE record by hackerone. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-22931?

Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2021-22931?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.