VariantIncomplete
CWE-496Public Data Assigned to Private Array-Typed Field
Category: other
Description
Assigning public data to a private array is equivalent to giving public access to the array.
Common consequences· 1
- Integrity — Modify Application DataThe contents of the array can be modified from outside the intended scope.
Potential mitigations· 1
- [Implementation]Do not allow objects to modify private members of a class.
References
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.