Live threats

All CVEs / Nodejs

CVE-2021-22931Nodejs Node.js

Critical 9.8 No auth neededHigh EPSS

Priority
76
CVSS 3.1
9.8
EPSS
22.0%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Aug 16, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-170, CWE-20
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nodejsnode.js≥ 12.0.0 ≤ 12.12.0
nodejsnode.js≥ 12.13.0 < 12.22.5
nodejsnode.js≥ 14.0.0 ≤ 14.14.0
nodejsnode.js≥ 14.15.0 < 14.17.5
nodejsnode.js≥ 16.0.0 < 16.6.2
netappactive_iq_unified_managerall
netappactive_iq_unified_managerall
netappnextgen_apiall
netapponcommand_insightall
netapponcommand_workflow_automationall
netappsnapcenterall
oraclegraalvm20.3.3
oraclegraalvm21.2.0
oraclemysql_cluster≤ 8.0.26
oraclepeoplesoft_enterprise_peopletools8.57
oraclepeoplesoft_enterprise_peopletools8.58
oraclepeoplesoft_enterprise_peopletools8.59
siemenssinec_infrastructure_network_services< 1.0.1.1

Official sources

References

Links published by the sources. Open them with care.