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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
LibuserLibuser_project0.57 (including)0.57 (including)
LibuserLibuser_project0.58 (including)0.58 (including)
LibuserUbuntuesm-infra-legacy/trusty*
LibuserUbuntuhardy*
LibuserUbuntulucid*
LibuserUbuntuoneiric*
LibuserUbuntuplucky*
LibuserUbuntuprecise*
LibuserUbuntuquantal*
LibuserUbunturaring*
LibuserUbuntusaucy*
LibuserUbuntutrusty*
LibuserUbuntutrusty/esm*
LibuserUbuntuupstream*
LibuserUbuntuutopic*

Potential Mitigations

References