CVE Vulnerabilities

CVE-2013-4235

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

Published: Dec 03, 2019 | Modified: Nov 21, 2024
CVSS 3.x
4.7
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
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
4.4 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

shadow: 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
ShadowDebian- (including)- (including)
ShadowUbuntuartful*
ShadowUbuntubionic*
ShadowUbuntucosmic*
ShadowUbuntudisco*
ShadowUbuntueoan*
ShadowUbuntuesm-infra-legacy/trusty*
ShadowUbuntuesm-infra/bionic*
ShadowUbuntuesm-infra/focal*
ShadowUbuntuesm-infra/xenial*
ShadowUbuntufocal*
ShadowUbuntugroovy*
ShadowUbuntuhirsute*
ShadowUbuntuimpish*
ShadowUbuntujammy*
ShadowUbuntukinetic*
ShadowUbuntulucid*
ShadowUbuntuprecise*
ShadowUbuntuprecise/esm*
ShadowUbuntutrusty*
ShadowUbuntutrusty/esm*
ShadowUbuntuupstream*
ShadowUbuntuutopic*
ShadowUbuntuvivid*
ShadowUbuntuvivid/stable-phone-overlay*
ShadowUbuntuvivid/ubuntu-core*
ShadowUbuntuwily*
ShadowUbuntuxenial*
ShadowUbuntuyakkety*
ShadowUbuntuzesty*

Potential Mitigations

References