Time-of-check Time-of-use (TOCTOU) Race Condition in fdupes - CVE-2022-48682

 

Time-of-check Time-of-use (TOCTOU) Race Condition in fdupes - CVE-2022-48682

Published: May 28, 2024


Vulnerability identifier: #VU89841
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-48682
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to delete arbitrary files.

The vulnerability exists due to a race condition. A local user can delete arbitrary files on the system via a symbolic link.


Affected software

fdupes
Amazon Linux AMI
openEuler
fdupes
fdupes-debugsource
fdupes-debuginfo
fdupes-help

How to mitigate CVE-2022-48682

Install updates from vendor's website.

fdupes - update to 2.2.0
fdupes - update to 2.3.0-1
fdupes-debugsource - update to 2.3.0-1
fdupes-debuginfo - update to 2.3.0-1
fdupes-help - update to 2.3.0-1
fdupes - update to 2.3.0-1

External References

Related Security Bulletins