Time-of-check Time-of-use (TOCTOU) Race Condition in fdupes - CVE-2022-48682
Published: May 28, 2024
Vulnerability identifier: #VU89841
CSH Severity: Low
CVSSv4.0: 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/E:U/U:Clear
CVE-ID: CVE-2022-48682
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
fdupes
fdupes
Software vendor:
adrianlopezroche (Adrian Lopez)
adrianlopezroche (Adrian Lopez)
Description
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.
Remediation
Install updates from vendor's website.
External links
- https://github.com/adrianlopezroche/fdupes/blob/4b6bcde1b3eb1cebe87cd30814f7d6cf4ee46e95/fdupes.c
- https://github.com/adrianlopezroche/fdupes/commit/85680897148f1ac33b55418e00334116e419717f
- https://bugzilla.suse.com/show_bug.cgi?id=1200381
- https://github.com/adrianlopezroche/fdupes/compare/v2.1.2...v2.2.0