Skip to content
OpenAdvisories
Critical · 9.1 CVE-2021-34363 EUVD-2021-0453GHSA-8wwf-2644-f8x4PYSEC-2021-97

The Fuck Arbitrary File Deletion via Path Traversal

Published Jun 10, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

The thefuck (aka The Fuck) package before 3.31 for Python allows Path Traversal that leads to arbitrary file deletion via the "undo archive operation" feature.

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.

ReleasePackageFixed inAdvisory
Debian 14 thefuck 3.29-0.3 —
Debian 13 thefuck 3.29-0.3 —
Debian 12 thefuck 3.29-0.3 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 thefuck No fix yet —
Ubuntu 26.04 LTS thefuck No fix yet —
Ubuntu 25.10 thefuck No fix yet —
Ubuntu 24.04 LTS thefuck No fix yet —
Ubuntu 22.04 LTS thefuck No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS thefuck No fix yet —
Ubuntu 18.04 LTS thefuck No fix yet —
Ubuntu 16.04 LTS thefuck No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI thefuck < 3.31 3.31 GHSA-8wwf-2644-f8x4

References