ADVISORIES

CVE Program

CNA-CVE-2021-22931

Details

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.

Affected packages

EcosystemPackageAffected versions
Node.jsnode
From 4.0 before 5
From 5.0 before 6
From 6.0 before 7
From 7.0 before 8
From 8.0 before 9
From 9.0 before 10
From 10.0 before 11
From 11.0 before 12
From 12.0 before 12.22.5 (fixed in 12.22.5)
From 13.0 before 14
From 14.0 before 14.17.5 (fixed in 14.17.5)
From 15.0 before 16
From 16.0 before 16.6.2 (fixed in 16.6.2)

References