Common Weakness Enumeration

CWE-582

Allowed

Array Declared Public, Final, and Static

Abstraction: Variant · Status: Draft

The product declares an array public, final, and static, which is not sufficient to prevent the array's contents from being modified.

0 vulnerabilities reference this CWE, most recent first.

No vulnerabilities reference this CWE.

Mitigation
Implementation

In most situations the array should be made private.

No CAPEC attack patterns related to this CWE.