CVE-2021-34363 json
The Fuck Arbitrary File Deletion via Path Traversal
published 2021-06-10 5 y ago modified 2026-06-17 4 mo ago also GHSA-8wwf-2644-f8x4 , PYSEC-2021-97 , EUVD-2021-0453
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi thefuck 3.31
- the_fuck_project the_fuck 3.31
- thefuck Debian 14, Debian 13, Debian 12 3.29-0.3
debian advisories DEBIAN-CVE-2021-34363
- thefuck Arch Linux 3.31-1
arch linux advisories AVG-2062
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-34363 updated cvss 5.0
thefuck: arbitrary file deletion via path traversal
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.85% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | thefuck | <3.31 |
3.31 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/nvbn/thefuck/commit/e343c577cd7da4d304b837d4a07ab4df1e023092
web, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/4MEDDLBFVRUQHPYIBJ4MFM3M4NUJUXL5/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YA6UNQSOY6M3NJDZLS6YJXTS4WGDMEEJ/
vendor-advisory
-
github.com
/nvbn/thefuck/releases/tag/3.31
web, release-notes, third-party-advisory
-
vuln.ryotak.me
/advisories/48
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-34363
advisory
-
github.com
/nvbn/thefuck
package
-
github.com
/pypa/advisory-database/tree/main/vulns/thefuck/PYSEC-2021-97.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/4MEDDLBFVRUQHPYIBJ4MFM3M4NUJUXL5
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/YA6UNQSOY6M3NJDZLS6YJXTS4WGDMEEJ
web
-
github.com
/advisories/GHSA-8wwf-2644-f8x4
advisory
Sources
- CVE List CVE-2021-34363
- GitHub Advisory GHSA-8wwf-2644-f8x4
- NVD CVE-2021-34363
- OSV PYSEC-2021-97
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.