time-of-check to time-of-use

A race condition in which a program checks something, such as a file's permissions, and the thing changes before the program uses it.

In more detail

An attacker who can act in the gap swaps the checked resource for another, such as replacing a file with a link. The fix is to make check and use one atomic operation, or to use the handle that was checked. Security+ lists it under race conditions.

Taught in

References

Certification courses