CVE Vulnerabilities

CVE-2012-5630

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

Published: Nov 25, 2019 | Modified: Nov 21, 2024
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
3.7 LOW
AV:L/AC:H/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM

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.

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)
Libuser Ubuntu esm-infra-legacy/trusty *
Libuser Ubuntu hardy *
Libuser Ubuntu lucid *
Libuser Ubuntu oneiric *
Libuser Ubuntu precise *
Libuser Ubuntu quantal *
Libuser Ubuntu raring *
Libuser Ubuntu saucy *
Libuser Ubuntu trusty *
Libuser Ubuntu trusty/esm *
Libuser Ubuntu upstream *
Libuser Ubuntu utopic *

Potential Mitigations

References