{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-8831","published":"2020-04-22T22:15:12.513000Z","last_modified":"2026-06-17T03:27:01.367000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-379","CWE-59"],"cpes":[{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"14.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"16.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"18.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"19.10"},{"criteria":"cpe:2.3:a:apport_project:apport:-:*:*:*:*:*:*:*","part":"a","vendor":"apport_project","product":"apport"}],"cpes_truncated":false,"vendors":["canonical","apport_project"],"products":["canonical/ubuntu_linux","apport_project/apport"],"epss":{"score":0.00651,"percentile":0.52497,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2020-8831/","html_en":"/en/cve/CVE-2020-8831/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-8831","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-8831"},"untrusted":{"vendor_name":"Canonical","product_name":"Ubuntu Linux","desc_en":"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.","affected":[{"untrusted_vendor":"Canonical","untrusted_product":"Apport","versions":[]}],"references":[{"url":"https://launchpad.net/bugs/1862348","tags":["Exploit","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4315-1/","tags":["Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4315-2/","tags":["Third Party Advisory"]}]}}