{"schemaVersion":3,"id":"CVE-2020-8833","aliases":["UBUNTU-CVE-2020-8833"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-04-22T21:15:18.859Z","modified":"2024-09-16T20:53:27.660Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":2.8,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":1.9,"severity":"low","vector":"AV:L/AC:M/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00344,"percentile":0.26408,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00344},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00344,"percentile":0.26408}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00344,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00344,"percentile":0.26408}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_FAF3209B18562805","name":"Exploit Reference (bugs.launchpad.net)","source":"reference","url":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/367.html"}],"affected":[{"vendor":"apport_project","product":"apport","name":"apport","label":"apport","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/apport_project/apport"},{"vendor":"canonical","product":"apport","name":"apport","label":"apport","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.20.1, < 2.20.1-0ubuntu2.23","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.20.9, < 2.20.9-0ubuntu7.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.20.11, < 2.20.11-0ubuntu8.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.20.1, < 2.20.1-0ubuntu2.23 | ≥ 2.20.9, < 2.20.9-0ubuntu7.14 | ≥ 2.20.11, < 2.20.11-0ubuntu8.8","eol":null,"hubHref":"/vendor/canonical/apport"},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null},{"text":"19.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.04 | 16.04 | 18.04 | 19.10","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"ubuntu","product":"apport","name":"apport","label":"apport","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/apport","purlType":"deb","versions":[{"text":"< 2.14.1-0ubuntu3.29+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 2.20.1-0ubuntu2.23","noFixRecorded":false,"fixedIn":null},{"text":"< 2.20.9-0ubuntu7.14","noFixRecorded":false,"fixedIn":null},{"text":"< 2.20.11-0ubuntu22","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.14.1-0ubuntu3.29+esm4 | < 2.20.1-0ubuntu2.23 | < 2.20.9-0ubuntu7.14 | < 2.20.11-0ubuntu22","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://usn.ubuntu.com/4315-1/","label":"usn.ubuntu.com/4315-1/","hostname":"usn.ubuntu.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933","label":"bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933","hostname":"bugs.launchpad.net","tags":["X Refsource CONFIRM","Exploit","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4315-2/","label":"usn.ubuntu.com/4315-2/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-8833","label":"ubuntu.com/security/CVE-2020-8833","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4315-1","label":"ubuntu.com/security/notices/USN-4315-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4315-2","label":"ubuntu.com/security/notices/USN-4315-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-8833","label":"www.cve.org/CVERecord?id=CVE-2020-8833","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["USN-4315-1","USN-4315-2"],"duplicates":[],"related":["USN-4315-1","USN-4315-2"]},"timeline":[{"kind":"published","date":"2020-04-22T21:15:18.859Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T20:53:27.660Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:25:43.500Z","stale":false,"partial":false}}