CVE Vulnerabilities

CVE-2022-48682

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

Published: Apr 26, 2024 | Modified: Nov 21, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In deletefiles in FDUPES before 2.2.0, a TOCTOU race condition allows arbitrary file deletion via a symlink.

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
FdupesUbuntuesm-apps/bionic*
FdupesUbuntuesm-apps/focal*
FdupesUbuntuesm-apps/xenial*
FdupesUbuntufocal*
FdupesUbuntujammy*
FdupesUbuntuupstream*

Potential Mitigations

References