CVE Vulnerabilities

CVE-2012-5630

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Nov 25, 2019 | Modified: Dec 04, 2019
CVSS 3.x
6.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS 2.x
3.3 LOW
AV:L/AC:M/Au:N/C:N/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

libuser 0.56 and 0.57 has a TOCTOU (time-of-check time-of-use) race condition when copying and removing directory trees.

Weakness

The product 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 product to perform invalid actions when the resource is in an unexpected state.

Affected Software

Name Vendor Start Version End Version
Libuser Libuser_project 0.57 (including) 0.57 (including)
Libuser Libuser_project 0.58 (including) 0.58 (including)

Potential Mitigations

References