nodejs node-js CVE-2021-22931 vulnerability in nodejs and Other Products
Published on August 16, 2021

product logo product logo product logo product logo product logo
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.

Vendor Advisory NVD

Weakness Type

Improper Null Termination

The software does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator. Null termination errors frequently occur in two different ways. An off-by-one error could cause a null to be written out of bounds, leading to an overflow. Or, a program could use a strncpy() function call incorrectly, which prevents a null terminator from being added at all. Other scenarios are possible.


Products Associated with CVE-2021-22931

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-22931 are published in these products:

 
 
 
 
 
 
 
 
 
 

Affected Versions

NodeJS Node:

Exploit Probability

EPSS
0.71%
Percentile
71.96%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.