Time-of-check Time-of-use (TOCTOU) Race Condition
CVE-2012-5630
Summary
libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.
- HIGH
- LOCAL
- HIGH
- UNCHANGED
- NONE
- LOW
- NONE
- HIGH
CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition
The software checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the software to perform invalid actions when the resource is in an unexpected state.
References
Advisory Timeline
- Published