CWE-662Improper Synchronization

PUBLISHEDweakness record
released 2008-04-11 · last modified 2026-04-30

Metadata

CWE ID:
CWE-662
摘要:
Class
结构:
Simple
状态:
Draft
发布日期:
2008-04-11
更新日期:
2026-04-30

名称

Improper Synchronization

描述

The product utilizes multiple threads, processes, components, or systems to allow temporary access to a shared resource that can only be exclusive to one process at a time, but it does not properly synchronize these actions, which might cause simultaneous accesses of this resource by multiple threads or processes.

Synchronization refers to a variety of behaviors and mechanisms that allow two or more independently-operating processes or threads to ensure that they operate on shared resources in predictable ways that do not interfere with each other. Some shared resource operations cannot be executed atomically; that is, multiple steps must be guaranteed to execute sequentially, without any interference by other processes. Synchronization mechanisms vary widely, but they may include locking, mutexes, and semaphores. When a multi-step operation on a shared resource cannot be guaranteed to execute independent of interference, then the resulting behavior can be unpredictable. Improper synchronization could lead to data or memory corruption, denial of service, etc.

常见后果

范围:
Integrity, Confidentiality, Other
影响:
Modify Application Data, Read Application Data, Alter Execution Logic

相关 CWE