CWE-543: Use of Singleton Pattern Without Synchronization in a Multithreaded Context
ID
CWE-543
Abstraction
Variant
Structure
Simple
Status
Incomplete
The product uses the singleton pattern when creating a resource within a multithreaded environment.
The use of a singleton pattern may not be thread-safe.
Modes of Introduction
Phase | Note |
---|---|
Implementation |
Applicable Platforms
Type | Class | Name | Prevalence |
---|---|---|---|
Language | Java | ||
Language | C++ |
Relationships
View | Weakness | |||||||
---|---|---|---|---|---|---|---|---|
# ID | View | Status | # ID | Name | Abstraction | Structure | Status | |
CWE-1000 | Research Concepts | Draft | CWE-820 | Missing Synchronization | Base | Simple | Incomplete | |
CWE-1305 | CISQ Quality Measures (2020) | Incomplete | CWE-662 | Improper Synchronization | Class | Simple | Draft | |
CWE-1340 | CISQ Data Protection Measures | Incomplete | CWE-662 | Improper Synchronization | Class | Simple | Draft |
Loading...