VULNERABILITY INTELLIGENCE

CVE-2021-22931

CVSS score9.8 CRITICAL
EPSS probability21.95%
CISA KEVNot currently listed
Published2021-08-16
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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.

Weakness classification

  • support@hackerone.com: CWE-170
  • nvd@nist.gov: CWE-20

Primary references