CWE-1097: Persistent Storable Data Element without Associated Comparison Control Element
The product uses a storable data element that does not have all of the associated functions or methods that are necessary to support comparison.
Overview
CWE-1097 (Persistent Storable Data Element without Associated Comparison Control Element) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Background
For example, with Java, a class that is made persistent requires both hashCode() and equals() methods to be defined.