Vulnerability Details CVE-2020-10174
init_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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 32.4%
CVSS Severity
CVSS v3 Score 7.0
CVSS v2 Score 6.9
Products affected by CVE-2020-10174
-
cpe:2.3:a:timeshift_project:timeshift:17.10
-
cpe:2.3:a:timeshift_project:timeshift:17.11
-
cpe:2.3:a:timeshift_project:timeshift:17.2
-
cpe:2.3:a:timeshift_project:timeshift:18.1
-
cpe:2.3:a:timeshift_project:timeshift:18.1.1
-
cpe:2.3:a:timeshift_project:timeshift:18.2
-
cpe:2.3:a:timeshift_project:timeshift:18.4
-
cpe:2.3:a:timeshift_project:timeshift:18.6
-
cpe:2.3:a:timeshift_project:timeshift:18.6.1
-
cpe:2.3:a:timeshift_project:timeshift:18.8
-
cpe:2.3:a:timeshift_project:timeshift:18.9
-
cpe:2.3:a:timeshift_project:timeshift:18.9.1
-
cpe:2.3:a:timeshift_project:timeshift:19.01
-
cpe:2.3:a:timeshift_project:timeshift:19.08.1
-
cpe:2.3:o:canonical:ubuntu_linux:19.10
-
cpe:2.3:o:fedoraproject:fedora:30
-
cpe:2.3:o:fedoraproject:fedora:31
-
cpe:2.3:o:fedoraproject:fedora:32