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

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

Name Vendor Start Version End Version
Fdupes Ubuntu esm-apps/bionic *
Fdupes Ubuntu esm-apps/focal *
Fdupes Ubuntu esm-apps/xenial *
Fdupes Ubuntu focal *
Fdupes Ubuntu jammy *
Fdupes Ubuntu upstream *

Potential Mitigations

References