CVE
CVE-2022-48682
published medium CVSS 3.1 · 6.0fdupes: a TOCTOU race condition allows arbitrary file deletion via a symlink
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2MATE-DESKTOP1.X-2024-009 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-633 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | fdupesaarch64 | Listed in advisory | Not stated | ALAS2MATE-DESKTOP1.X-2024-009 |
| Amazon Linux | AL2 | fdupessrc | Listed in advisory | Not stated | ALAS2MATE-DESKTOP1.X-2024-009 |
| Amazon Linux | AL2 | fdupesx86_64 | Listed in advisory | Not stated | ALAS2MATE-DESKTOP1.X-2024-009 |
| Amazon Linux | AL2023 | fdupesaarch64 | Listed in advisory | Not stated | ALAS2023-2024-633 |
| Amazon Linux | AL2023 | fdupessrc | Listed in advisory | Not stated | ALAS2023-2024-633 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | fdupesx86_64 | Listed in advisory | Not stated | ALAS2023-2024-633 |
Description
In deletefiles in FDUPES before 2.2.0, a TOCTOU race condition allows arbitrary file deletion via a symlink.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AC:H/AV:L/A:H/C:N/I:H/PR:L/S:U/UI:R
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-367 CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
4- https://bugzilla.suse.com/show_bug.cgi?id=1200381
- https://github.com/adrianlopezroche/fdupes/blob/4b6bcde1b3eb1cebe87cd30814f7d6cf4ee46e95/fdupes.c
- https://github.com/adrianlopezroche/fdupes/commit/85680897148f1ac33b55418e00334116e419717f
- https://github.com/adrianlopezroche/fdupes/compare/v2.1.2...v2.2.0
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- feed08e67afa4f6043a927af22bcf6bb2b61f84c7239555f1a419d68689c40bd
- Ingested
- 23 Sep 2026, 08:03:53 UTC
- Source record
- Official CVE record