{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-8831","id":"CVE-2020-8831","title":"World writable root owned lock file created in user controllable location","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, ch","descriptionLong":"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.","published":"2020-04-22T21:15:18.418Z","updated":"2026-06-17T03:27:01.367Z","reserved":"2020-02-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"canonical"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"canonical"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"ubuntu.com"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["Canonical Apport"],"affectedProducts":[{"vendor":"Canonical","product":"Apport","defaultStatus":null,"versions":[{"lessThan":"2.20.1-0ubuntu2.23","status":"affected","version":"2.20.1","versionType":"custom"},{"lessThan":"2.20.9-0ubuntu7.14","status":"affected","version":"2.20.9","versionType":"custom"},{"changes":[{"at":"2.20.11-0ubuntu22","status":"unaffected"}],"lessThan":"2.20.11-0ubuntu8.8","status":"affected","version":"2.20.11","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-379","CWE-59"],"aliases":[],"references":[{"url":"https://launchpad.net/bugs/1862348","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4315-1/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4315-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00651,"epssPercentile":0.52001,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-8831","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8831","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-8831","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-8831","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}