Description
The software compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.
This weakness class covers several possibilities:
- the comparison checks one factor incorrectly;
- the comparison should consider multiple factors, but it does not check some of those factors at all;
- the comparison checks the wrong factor.
Latest vulnerabilities for CWE-697
References
Description of CWE-697 on Mitre website