CWE DATABASE
About
GET A DEMO
Backslash Vulnerability Database
Incorrect Comparison
Incorrect Comparison
CWE-697
Overtime trend (NVD)
CVSS severity (NVD, All Time)
Per technology (GHSA, All time)
40%
-
Pip
29%
-
NPM
21%
-
Maven
9%
-
Others
Short description
The product compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.
Extended description
the comparison checks one factor incorrectly;
the comparison should consider multiple factors, but it does not check at least one of those factors at all;
the comparison checks the wrong factor.