critical9.1
CVE-2021-34363
The Fuck Arbitrary File Deletion via Path Traversal
Impact
The thefuck (aka _The Fuck_) is app that corrects errors in previous console commands. _The Fuck_ python package before 3.31 allows Path Traversal that leads to arbitrary file deletion via the `undo archive operation` feature.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | thefuck | < 3.31 | 3.31 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| The Fuck Project | The Fuck | before 3.31 |
| Fedoraproject | Fedora | Versions 34, 35 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nvbn/thefuck/commit/e343c577cd7da4d304b837d4a07ab4df1e023092
- https://github.com/nvbn/thefuck/releases/tag/3.31
- 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
- https://github.com/advisories/GHSA-8wwf-2644-f8x4
- https://nvd.nist.gov/vuln/detail/CVE-2021-34363
- https://github.com/pypa/advisory-database/tree/main/vulns/thefuck/PYSEC-2021-97.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4MEDDLBFVRUQHPYIBJ4MFM3M4NUJUXL5
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YA6UNQSOY6M3NJDZLS6YJXTS4WGDMEEJ