{"id":"CVE-2020-8833","state":"PUBLISHED","title":"Apport race condition in crash report permissions","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.","publishedAt":"2020-04-22T21:15:18.859Z","updatedAt":"2024-09-16T20:53:27.660Z","severity":{"score":5.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","source":"canonical"},"assigner":"canonical","products":["Canonical Apport"],"affected":[{"vendor":"Canonical","product":"Apport","versions":[{"version":"2.20.1","status":"affected","lessThan":"2.20.1-0ubuntu2.23","versionType":"custom"},{"version":"2.20.9","status":"affected","lessThan":"2.20.9-0ubuntu7.14","versionType":"custom"},{"version":"2.20.11","status":"affected","lessThan":"2.20.11-0ubuntu8.8","changes":[{"at":"2.20.11-0ubuntu22","status":"unaffected"}],"versionType":"custom"}]}],"references":["https://usn.ubuntu.com/4315-1/","https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933","https://usn.ubuntu.com/4315-2/"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T19:47:44.297Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/8xxx/CVE-2020-8833.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-8833","state":"PUBLISHED","datePublished":"2020-04-22T21:15:18.859Z","dateUpdated":"2024-09-16T20:53:27.660Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2020-02-10T00:00:00.000Z"},"containers":{"cna":{"title":"Apport race condition in crash report permissions","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Canonical","product":"Apport","versions":[{"version":"2.20.1","status":"affected","lessThan":"2.20.1-0ubuntu2.23","versionType":"custom"},{"version":"2.20.9","status":"affected","lessThan":"2.20.9-0ubuntu7.14","versionType":"custom"},{"version":"2.20.11","status":"affected","lessThan":"2.20.11-0ubuntu8.8","changes":[{"at":"2.20.11-0ubuntu22","status":"unaffected"}],"versionType":"custom"}]}],"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/","name":"USN-4315-2","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.6,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","dateUpdated":"2020-06-24T20:06:03.000Z","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc"},"credits":[{"lang":"en","value":"Maximilien Bourgeteau"}],"datePublic":"2020-04-02T00:00:00.000Z","source":{"advisory":"https://usn.ubuntu.com/4315-1/","defect":["https://launchpad.net/bugs/1862933"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"AKA":"","ASSIGNER":"security@ubuntu.com","DATE_PUBLIC":"2020-04-02T00:43:00.000Z","ID":"CVE-2020-8833","STATE":"PUBLIC","TITLE":"Apport race condition in crash report permissions"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apport","version":{"version_data":[{"platform":"","version_affected":"<","version_name":"2.20.1","version_value":"2.20.1-0ubuntu2.23"},{"platform":"","version_affected":"<","version_name":"2.20.9","version_value":"2.20.9-0ubuntu7.14"},{"platform":"","version_affected":"<","version_name":"2.20.11","version_value":"2.20.11-0ubuntu8.8"},{"platform":"","version_affected":"<","version_name":"2.20.11","version_value":"2.20.11-0ubuntu22"}]}}]},"vendor_name":"Canonical"}]}},"configuration":[],"credit":[{"lang":"eng","value":"Maximilien Bourgeteau"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"exploit":[],"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.6,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition"}]}]},"references":{"reference_data":[{"name":"https://usn.ubuntu.com/4315-1/","refsource":"CONFIRM","url":"https://usn.ubuntu.com/4315-1/"},{"name":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933","refsource":"CONFIRM","url":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933"},{"name":"USN-4315-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4315-2/"}]},"solution":[],"source":{"advisory":"https://usn.ubuntu.com/4315-1/","defect":["https://launchpad.net/bugs/1862933"],"discovery":"EXTERNAL"},"work_around":[]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://usn.ubuntu.com/4315-1/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/4315-2/","name":"USN-4315-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T10:12:10.622Z"}}]}}}