CVE-2021-34363
CRITICAL 9.1CVSS 3.1The Fuck Arbitrary File Deletion via Path Traversal
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.
- Published
- 10 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-8wwf-2644-f8x4PYSEC-2021-97
- Sources
- NVDJSONOSV GHSA-8wwf-2644-f8x4JSONOSV PYSEC-2021-97JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | the_fuck_project | the_fuckcpe:2.3:a:the_fuck_project:the_fuck:*:*:*:*:*:python:*:* |
< 3.31 | 3.31 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| OSV | PyPI | thefuck | < 3.31 | 3.31 |
References
- https://github.com/nvbn/thefuck/commit/e343c577cd7da4d304b837d4a07ab4df1e023092 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/nvbn/thefuck/releases/tag/3.31 · Release Notes, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4MEDDLBFVRUQHPYIBJ4MFM3M4NUJUXL5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YA6UNQSOY6M3NJDZLS6YJXTS4WGDMEEJ/
- https://vuln.ryotak.me/advisories/48 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-34363 · ADVISORY
- https://github.com/nvbn/thefuck · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/thefuck/PYSEC-2021-97.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4MEDDLBFVRUQHPYIBJ4MFM3M4NUJUXL5 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YA6UNQSOY6M3NJDZLS6YJXTS4WGDMEEJ · WEB
- https://github.com/advisories/GHSA-8wwf-2644-f8x4 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 10 Jun 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jun 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Jun 2021)