CWE-1096 – Singleton Class Instance Creation without Proper Locking or Synchronization

Read Time:15 Second

Description

The software implements a Singleton design pattern but does not use appropriate locking or other synchronization mechanism to ensure that the singleton class is only instantiated once.

Modes of Introduction:

 

 

Related Weaknesses

CWE-820
CWE-662
CWE-662

 

Consequences

Other: Reduce Reliability

 

Potential Mitigations

CVE References