Vulnerabilities · 2020 · Canonical
CVE-2020-8831
Canonical Ubuntu Linux vulnerability
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 products
Ubuntu Linux, Apport. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Canonical Ubuntu Linux runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- launchpad.net/bugs/1862348 · Exploit
- usn.ubuntu.com/4315-1/ · Third Party Advisory
- usn.ubuntu.com/4315-2/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-8831
- cve.org/CVERecord?id=CVE-2020-8831
More vulnerabilities in Canonical products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.