BaseDraft
CWE-567Unsynchronized Access to Shared Data in a Multithreaded Context
Category: logic
Description
The product does not properly synchronize shared data, such as static variables across threads, which can lead to undefined behavior and unpredictable data changes.
Common consequences· 1
- Confidentiality / Integrity / Availability — Read Application Data, Modify Application Data, DoS: Instability, DoS: Crash, Exit, or RestartIf the shared variable contains sensitive data, it may be manipulated or displayed in another user session. If this data is used to control the application, its value can be manipulated to cause the application to crash or perform poorly.
Potential mitigations· 1
- [Implementation]Remove the use of static variables used between servlets. If this cannot be avoided, use synchronized access for these variables.
Related CAPEC attack patterns· 1
References
Exploits (incoming)1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| AttackPattern | Forced Deadlockcapec-25 | 100% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.