logo

CWE-366 - Race Condition within a Thread

CWE-366 Medium

  • Abstraction:
  • Base
  • Structure:
  • Simple
  • Status:
  • Draft
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.

Related Weaknesses
  • Release Date:
  • 2006-07-19
  • Latest Modification Date:
  • 2023-10-26

Free security scan for your website