CVE-2020-10174
Summary
| CVE | CVE-2020-10174 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-03-05 16:15:00 UTC |
| Updated | 2023-11-07 03:14:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-362 | CWE-59
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.