Unchecked Return Value to NULL Pointer Dereference
CWE-690
CVSS severity (NVD, All Time)
Per technology (GHSA, All time)
90%-NPM
9%-Maven
Short description
The product does not check for an error after calling a function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference.
Extended description
While unchecked return value weaknesses are not limited to returns of NULL pointers (see the examples in CWE-252), functions often return NULL to indicate an error status. When this error condition is not checked, a NULL pointer dereference can occur.