CWE-496: Public Data Assigned to Private Array-Typed Field
Assigning public data to a private array is equivalent to giving public access to the array.
Last updated
Overview
CWE-496 (Public Data Assigned to Private Array-Typed Field) is a variant-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.
Common consequences
What can happen when CWE-496 is exploited.
Modify Application Data
Affects: Integrity
The contents of the array can be modified from outside the intended scope.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Applies to
Languages