CWE-697

Incorrect Comparison

Description

The product compares two entities in a security-relevant context, but the comparison is incorrect.

Extended Description

This Pillar covers several possibilities: - 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.