logo

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

CWE-1042

  • Abstraction:
  • Variant
  • Structure:
  • Simple
  • Status:
  • Incomplete
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.

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.

Common Consequences

Scope: Other

Impact: Reduce Performance

Related Weaknesses
  • Release Date:
  • 2019-01-03
  • Latest Modification Date:
  • 2024-02-29

Free security scan for your website