CWE-1042: Static Member Data Element outside of a Singleton Class Element
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.
Last updated
Overview
CWE-1042 (Static Member Data Element outside of a Singleton Class Element) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Common consequences
What can happen when CWE-1042 is exploited.
Reduce Performance
Affects: Other
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.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Terminology & mappings
Mapped taxonomies
- OMG ASCPEM (ASCPEM-PRF-3)
Frequently asked questions
Common questions about CWE-1042.
- What is CWE-1042?
- 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.
- What are the consequences of CWE-1042?
- Exploiting CWE-1042 can lead to: Reduce Performance.
References
- MITRE CWE definition (CWE-1042) (opens in a new tab)
- CWE-1042 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Stay ahead of CWE-1042
Get alerted the moment a new CWE-1042 vulnerability affects your stack, with AI-written analysis, severity context, and remediation guidance.