{"id":"UBUNTU-CVE-2021-34363","details":"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.","modified":"2026-05-20T16:06:28.049656942Z","published":"2021-06-10T11:15:00Z","upstream":["CVE-2021-34363"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-34363"},{"type":"REPORT","url":"https://github.com/nvbn/thefuck/commit/e343c577cd7da4d304b837d4a07ab4df1e023092"},{"type":"REPORT","url":"https://github.com/nvbn/thefuck/pull/1206"},{"type":"REPORT","url":"https://vuln.ryotak.me/advisories/48"},{"type":"REPORT","url":"https://github.com/nvbn/thefuck/commit/e343c577cd7da4d304b837d4a07ab4df1e023092"},{"type":"REPORT","url":"https://github.com/nvbn/thefuck/releases/tag/3.31"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-34363"}],"affected":[{"package":{"name":"thefuck","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/thefuck?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.6-1","3.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.2-1","binary_name":"thefuck"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-34363.json"}},{"package":{"name":"thefuck","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/thefuck?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11-2"],"ecosystem_specific":{"binaries":[{"binary_name":"thefuck","binary_version":"3.11-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-34363.json"}},{"package":{"name":"thefuck","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/thefuck?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.29-0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"thefuck","binary_version":"3.29-0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-34363.json"}},{"package":{"name":"thefuck","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/thefuck?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.29-0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"thefuck","binary_version":"3.29-0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-34363.json"}},{"package":{"name":"thefuck","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/thefuck?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.29-0.3","3.29-0.3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"thefuck","binary_version":"3.29-0.3ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-34363.json"}},{"package":{"name":"thefuck","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/thefuck?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.32-0.2","3.32-0.3","3.32-0.4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.32-0.4","binary_name":"thefuck"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-34363.json"}},{"package":{"name":"thefuck","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/thefuck?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.32-0.4"],"ecosystem_specific":{"binaries":[{"binary_name":"thefuck","binary_version":"3.32-0.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-34363.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}