COMMON WEAKNESS ENUMERATIONIncomplete
CWE-367
Time-of-check Time-of-use (TOCTOU) Race Condition
Abstraction
Base
Structure
Simple
Likelihood of Exploit
Medium
Understand the problem
What is the problem?
Terminology
Alternate terms and usages
TOCTTOU
TOCCTOU
Root cause
How and when does the problem arise?
Lifecycle phase
Implementation
Risk
What does successful exploitation lead to?
Alter Execution LogicUnexpected State
Modify Application DataModify Files or DirectoriesModify MemoryOther
Other
Hide Activities
Other
Unexpected State
Defence
How is it prevented and fixed?
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Architecture and Design
Architecture and design approach
Detail
Architecture and Design
Architecture and design approach
Implementation · Architecture and Design
Defence to apply across several lifecycle phases
Detail
Implementation · Architecture and Design
Defence to apply across several lifecycle phases
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Architecture and Design
Architecture and design approach
Detail
Architecture and Design
Architecture and design approach
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Verification
How is it detected?
Automated Static Analysis
HighMITRE diagram
Weakness relationships and flow
