CWE-1042 – Static Member Data Element outside of a Singleton Class Element

Read Time:19 Second

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.

Modes of Introduction:

 

 

Related Weaknesses

CWE-1176

 

Consequences

Other: Reduce Performance

 

Potential Mitigations

CVE References