CVE-2020-8833
Summary
| CVE | CVE-2020-8833 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-04-22 22:15:00 UTC |
| Updated | 2022-10-07 15:14:00 UTC |
| Description | Time-of-check Time-of-use Race Condition vulnerability on crash report ownership change in Apport allows for a possible privilege escalation opportunity. If fs.protected_symlinks is disabled, this can be exploited between the os.open and os.chown calls when the Apport cron script clears out crash files of size 0. A symlink with the same name as the deleted file can then be created upon which chown will be called, changing the file owner to root. Fixed in versions 2.20.1-0ubuntu2.23, 2.20.9-0ubuntu7.14, 2.20.11-0ubuntu8.8 and 2.20.11-0ubuntu22. |
Risk And Classification
Problem Types: CWE-367
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Apport Project | Apport | - | All | All | All |
| Application | Apport Project | Apport | - | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 14.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 16.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 16.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 18.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 19.10 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 16.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 18.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 19.10 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| USN-4315-2: Apport vulnerabilities | Ubuntu security notices | UBUNTU | usn.ubuntu.com | |
| USN-4315-1: Apport vulnerabilities | Ubuntu security notices | Ubuntu | CONFIRM | usn.ubuntu.com | Third Party Advisory |
| Bug #1862933 “Apport crash report & cron script TOCTTOU” : Bugs : apport package : Ubuntu | CONFIRM | bugs.launchpad.net | Exploit, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Maximilien Bourgeteau
There are currently no legacy QID mappings associated with this CVE.