The product defines a public method that reads or modifies a private variable.
Use class accessor and mutator methods appropriately. Perform validation when accepting data from a public method that is intended to modify a critical private variable. Also be sure that appropriate access controls are being applied when a public method interfaces with critical data.
Our security experts can help you identify and remediate CWE-767 vulnerabilities in your codebase.
Get Security Assessment