CVE-2020-10174

Summary

CVECVE-2020-10174
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-03-05 16:15:00 UTC
Updated2023-11-07 03:14:00 UTC
Descriptioninit_tmp in TeeJee.FileSystem.vala in Timeshift before 20.03 unsafely reuses a preexisting temporary directory in the predictable location /tmp/timeshift. It follows symlinks in this location or uses directories owned by unprivileged users. Because Timeshift also executes scripts under this location, an attacker can attempt to win a race condition to replace scripts created by Timeshift with attacker-controlled scripts. Upon success, an attacker-controlled script is executed with full root privileges. This logic is practically always triggered when Timeshift runs regardless of the command-line arguments used.

Risk And Classification

Problem Types: CWE-362 | CWE-59

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 19.10 All All All
Operating System Fedoraproject Fedora 30 All All All
Operating System Fedoraproject Fedora 31 All All All
Operating System Fedoraproject Fedora 32 All All All
Application Timeshift Project Timeshift All All All All
Application Timeshift Project Timeshift All All All All

References

ReferenceSourceLinkTags
Release v20.03 · teejee2008/timeshift · GitHub MISC github.com Release Notes, Third Party Advisory
USN-4312-1: Timeshift vulnerability | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com
Bug 1165802 – VUL-0: CVE-2020-10174: timeshift: arbitrary local code execution due to unsafe usage of temporary directory in /tmp/timeshift MISC bugzilla.suse.com Issue Tracking, Third Party Advisory
Change TEMP_DIR permissions and path; Cleanup on exit; · teejee2008/timeshift@335b3d5 · GitHub MISC github.com Patch, Third Party Advisory
[SECURITY] Fedora 30 Update: timeshift-20.03-1.fc30 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 31 Update: timeshift-20.03-1.fc31 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 32 Update: timeshift-20.03-1.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 32 Update: timeshift-20.03-1.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 31 Update: timeshift-20.03-1.fc31 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
oss-security - CVE-2020-10174: timeshift: arbitrary local code execution due to unsafe usage of temporary directory in /tmp/timeshift MLIST www.openwall.com Third Party Advisory
[SECURITY] Fedora 30 Update: timeshift-20.03-1.fc30 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report