CVE-2021-34363
JSON

9.1critical

The Fuck Arbitrary File Deletion via Path Traversal

Severity
9.1critical CVSS:3.1 by NVD
Exploit likelihood
1.85% (higher than 79% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-8wwf-2644-f8x4PYSEC-2021-97

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
thefuck (PyPI)before 3.31, before e343c577cd7da4d304b837d4a07ab4df1e023092GitHub Advisory Database, PyPA Advisory Database
the_fuck_project the_fuckbefore 3.31NVD
fedoraproject fedora34, 35NVD

All scores

GitHub9.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD6.4medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

El paquete thefuck (también se conoce como The Fuck) versiones anteriores a 3.31 para Python permite un Salto de Ruta que conlleva a la eliminación arbitraria de archivos por medio de la funcionalidad "undo archive operation"

References

https://github.com/nvbn/thefuck/releases/tag/3.31release-notes, third-party-advisory, web
https://vuln.ryotak.me/advisories/48advisory, third-party-advisory, web
https://github.com/nvbn/thefuck/commit/e343c577cd7da4d304b837d4a07ab4df1e023092fix, patch, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4MEDDLBFVRUQHPYIBJ4MFM3M4NUJUXL5/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YA6UNQSOY6M3NJDZLS6YJXTS4WGDMEEJ/vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2021-34363advisory
https://github.com/nvbn/thefuckpackage
https://github.com/pypa/advisory-database/tree/main/vulns/thefuck/PYSEC-2021-97.yamlweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4MEDDLBFVRUQHPYIBJ4MFM3M4NUJUXL5web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YA6UNQSOY6M3NJDZLS6YJXTS4WGDMEEJweb
https://github.com/advisories/GHSA-8wwf-2644-f8x4advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-34363 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-8wwf-2644-f8x4 changed 2024-11-13CC-BY-4.0
NVDCVE-2021-34363 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-97 changed 2023-11-08CC-BY-4.0