Vulnerability Name:

CVE-2021-34363 (CCN-203735)

Assigned:2021-06-09
Published:2021-06-09
Updated:2022-03-25
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.
CVSS v3 Severity:9.1 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H)
7.9 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): High
6.5 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L)
5.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.4 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): Partial
6.4 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-22
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-34363

Source: XF
Type: UNKNOWN
thefuck-cve202134363-path-trav(203735)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/nvbn/thefuck/commit/e343c577cd7da4d304b837d4a07ab4df1e023092

Source: MISC
Type: Release Notes, Third Party Advisory
https://github.com/nvbn/thefuck/releases/tag/3.31

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-0f1653e269

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-5aeda24c24

Source: CCN
Type: Python Package Index Web site
thefuck 3.31

Source: CCN
Type: ryotak Security Advisory
The Fuck arbitrary file deletion via path traversal

Source: MISC
Type: Third Party Advisory
https://vuln.ryotak.me/advisories/48

Vulnerable Configuration:Configuration 1:
  • cpe:/a:the_fuck_project:the_fuck:*:*:*:*:*:python:*:* (Version < 3.31)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:35:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    the_fuck_project the fuck *
    fedoraproject fedora 34
    fedoraproject fedora 35