{"id":"CVE-2020-8831","published":"2020-04-22T21:15:18Z","modified":"2024-09-16T19:00:55Z","title":"World writable root owned lock file created in user controllable location","vendor":"Canonical","product":"Apport","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00651,"percentile":0.52141,"provenance":"source"},"cwes":[{"id":"CWE-379","name":"Creation of Temporary File in Directory with Insecure Permissions"}],"references":[{"url":"https://launchpad.net/bugs/1862348","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4315-1/","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4315-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":10.43},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"canonical","affectedVersions":[{"vendor":"Canonical","product":"Apport","versions":[">= 2.20.1, < 2.20.1-0ubuntu2.23",">= 2.20.9, < 2.20.9-0ubuntu7.14",">= 2.20.11, < 2.20.11-0ubuntu8.8"]}],"fixedVersions":[{"vendor":"Canonical","product":"Apport","versions":["2.20.11-0ubuntu22"]}],"euvd":{"id":"EUVD-2020-29674","exploited":false,"provenance":"source"}}