{"id":"CVE-2020-8833","published":"2020-04-22T21:15:18Z","modified":"2024-09-16T20:53:27Z","title":"Apport race condition in crash report permissions","vendor":"Canonical","product":"Apport","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00344,"percentile":0.28627,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://usn.ubuntu.com/4315-1/","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4315-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":5.73},{"name":"CVSS severity","points":3.92}]},"vendorSlug":"canonical","affectedVersions":[{"vendor":"Canonical","product":"Apport","versions":[">= 2.20.1, < 2.20.1-0ubuntu2.23",">= 2.20.9, < 2.20.9-0ubuntu7.14",">= 2.20.11, < 2.20.11-0ubuntu8.8"]}],"fixedVersions":[{"vendor":"Canonical","product":"Apport","versions":["2.20.11-0ubuntu22"]}],"euvd":{"id":"EUVD-2020-29676","exploited":false,"provenance":"source"}}