An object contains a public static field that is not marked final, which might allow it to be modified in unexpected ways.
Clearly identify the scope for all critical data elements, including whether they should be regarded as static.
Make any static fields private and constant. A constant field is denoted by the keyword 'const' in C/C++ and ' final' in Java
Our security experts can help you identify and remediate CWE-500 vulnerabilities in your codebase.
Get Security Assessment