Description
In deletefiles in FDUPES before 2.2.0, a TOCTOU race condition allows arbitrary file deletion via a symlink.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fdupes | 1:2.2.1-1 | — |
| Debian 13 | fdupes | 1:2.2.1-1 | — |
| Debian 12 | fdupes | 1:2.2.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | fdupes | No fix yet | — |
| Ubuntu 20.04 LTS | fdupes | No fix yet | — |
| Ubuntu 18.04 LTS | fdupes | No fix yet | — |
| Ubuntu 16.04 LTS | fdupes | No fix yet | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | fdupes | 1:2.3.0-1.amzn2023 | ALAS2023-2024-633 |
Advisories 1
- ALAS2023-2024-633 Moderate: fdupes security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · May 28, 2024
References
- 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