{"schemaVersion":3,"id":"CVE-2020-8831","aliases":["UBUNTU-CVE-2020-8831"],"status":"published","duplicateOf":null,"title":null,"description":"Apport creates a world writable lock file with root ownership in the world writable /var/lock/apport directory. If the apport/ directory does not exist (this is not uncommon as /var/lock is a tmpfs), it will create the directory, otherwise it will simply continue execution using the existing directory. This allows for a symlink attack if an attacker were to create a symlink at /var/lock/apport, changing apport's lock file location. This file could then be used to escalate privileges, for example. 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.418Z","modified":"2024-09-16T19:00:55.009Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","exploitability":5.1,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":2.1,"severity":"low","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00651,"percentile":0.5025,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00651},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00651,"percentile":0.5025}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00651,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00651,"percentile":0.5025}]},"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_8E0B133FFDD38559","name":"Exploit Reference (launchpad.net)","source":"reference","url":"https://launchpad.net/bugs/1862348","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-379","name":"Creation of Temporary File in Directory with Insecure Permissions","description":"The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/379.html"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.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://launchpad.net/bugs/1862348","label":"launchpad.net/bugs/1862348","hostname":"launchpad.net","tags":["X Refsource CONFIRM","Exploit","Third Party Advisory"]},{"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://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-8831","label":"ubuntu.com/security/CVE-2020-8831","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-8831","label":"www.cve.org/CVERecord?id=CVE-2020-8831","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.418Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T19:00:55.009Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:53:43.146Z","stale":false,"partial":false}}