CWE-366 - Race Condition within a Thread
- Abstraction:Base
- Structure:Simple
- Status:Draft
- Release Date:2006-07-19
- Latest Modification Date:2023-10-26
Weakness Name
Race Condition within a Thread
Description
If two threads of execution use a resource simultaneously, there exists the possibility that resources may be used while invalid, in turn making the state of execution undefined.
Common Consequences
Scope: Integrity, Other
Impact: Alter Execution Logic, Unexpected State
Notes: The main problem is that -- if a lock is overcome -- data could be altered in a bad state.