CWE Database
/

CWE-1042

Back to CWE list

CWE-1042

Static Member Data Element outside of a Singleton Class Element

Variant
Incomplete

Description

The code contains a member element that is declared as static (but not final), in which its parent class element is not a singleton class - that is, a class element that can be used only once in the 'to' association of a Create action.

Parent Weaknesses (ChildOf)

Common Consequences

Scope

Other

Impact

Reduce Performance

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now