CWE-543: Use of Singleton Pattern Without Synchronization in a Multithreaded Context
The product uses the singleton pattern when creating a resource within a multithreaded environment.
Last updated
Overview
CWE-543 (Use of Singleton Pattern Without Synchronization in a Multithreaded Context) 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-543 is exploited.
Varies by Context, Modify Application Data
Affects: Other, Integrity
The use of a singleton pattern may not be thread-safe.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Applies to
Languages
How to prevent it
Practical mitigations for CWE-543, grouped by where in the lifecycle they apply.