CWE-1042β€”Static Member Data Element outside of a Singleton Class Element

PUBLISHEDweakness record
released 2019-01-03 Β· last modified 2025-12-11

Metadata

CWE ID:
CWE-1042
Abstraction:
Variant
Structure:
Simple
Status:
Incomplete
Release Date:
2019-01-03
Latest Modification Date:
2025-12-11

Weakness Name

Static Member Data Element outside of a Singleton Class Element

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.

Common Consequences

Scope:
Other
Impact:
Reduce Performance
Notes:
This issue can make the product perform more slowly. If the relevant code is reachable by an attacker, then this performance problem might introduce a vulnerability.

Related Weaknesses