Threats, Vulnerabilities, and Attacks
In a time-of-check to time-of-use race condition, what is the time of use?
Show the answer
Correct answerA. The moment the application acts on a resource it already checked
AWhy this is right: Using the resource after the earlier check is the time of use, which is where a changed resource causes harm.
BWhy not this: Authentication is a separate event and does not define the use step of a race condition.
CWhy not this: Publishing an update is unrelated to the check-then-use sequence of a race condition.
DWhy not this: Verifying the state is the time of check, the first half of the race window.
Time of use is when the application actually uses the resource, such as opening or writing a file, relying on an earlier check. If the resource changed after the check, the result is stale. Verifying the state is the time of check.