{"id":"CVE-2021-34363","aliases":["CVE-2021-34363","GHSA-8wwf-2644-f8x4","PYSEC-2021-97"],"related":[],"kind":"vulnerability","state":"published","title":"The Fuck Arbitrary File Deletion via Path Traversal","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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\"","source":"nvd"}],"published":"2021-06-10T10:07:03.000Z","modified":"2026-06-17T03:55:43.560Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.31"}],"ecosystem":"PyPI","package":"thefuck","purl":"pkg:pypi/thefuck","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.31"}],"vendor":"the_fuck_project","product":"the_fuck","cpe":"cpe:2.3:a:the_fuck_project:the_fuck:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"34"},{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"e343c577cd7da4d304b837d4a07ab4df1e023092"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.31"}],"ecosystem":"PyPI","package":"thefuck","purl":"pkg:pypi/thefuck","repo":"https://github.com/nvbn/thefuck","source":"pysec"}],"references":[{"url":"https://github.com/nvbn/thefuck/releases/tag/3.31","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuln.ryotak.me/advisories/48","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nvbn/thefuck/commit/e343c577cd7da4d304b837d4a07ab4df1e023092","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4MEDDLBFVRUQHPYIBJ4MFM3M4NUJUXL5/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YA6UNQSOY6M3NJDZLS6YJXTS4WGDMEEJ/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34363","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nvbn/thefuck","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/thefuck/PYSEC-2021-97.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4MEDDLBFVRUQHPYIBJ4MFM3M4NUJUXL5","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YA6UNQSOY6M3NJDZLS6YJXTS4WGDMEEJ","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8wwf-2644-f8x4","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-34363","url":"https://www.cve.org/CVERecord?id=CVE-2021-34363","licence":"CVE Terms of Use","modified":"2024-08-04T00:12:50.063Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8wwf-2644-f8x4","url":"https://github.com/advisories/GHSA-8wwf-2644-f8x4","licence":"CC-BY-4.0","modified":"2024-11-13T23:23:21.007Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-34363","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34363","licence":"Public domain","modified":"2026-06-17T03:55:43.560Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-97","url":"https://osv.dev/vulnerability/PYSEC-2021-97","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:07.691Z"}],"updatedAt":"2026-11-25T22:58:01.767Z","epss":{"score":0.01847,"percentile":0.79693,"date":"2026-12-01T12:00:22.000Z"}}