6.5
Medium
CVE-2020-8831 Apport creates a world writable lock file with root ownership in the world writable /var/lock/apport directory
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| apport 2.20 | 2.20.1 → < 2.20.11-0ubuntu8.8 | 2.20.1-0ubuntu2.23 |
References
- launchpad.net launchpad.net
- usn.ubuntu.com usn.ubuntu.com
- USN-4315-2 usn.ubuntu.com
Timeline
- Published
- Last modified
Other CVEs of apport
The 29 CVEs of apport →
CVE-2026-77113
Path traversal in apport-unpack in Canonical Apport before 2.36.0, 2.34.2, and 2.28.4 on Linux allows an attacker to…
6.7
Medium
CVE-2025-5467
It was discovered that process_crash() in data/apport in Canonical's Apport crash reporting tool may create crash…
1.9
Low
CVE-2025-5054
Race condition in Canonical apport up to and including 2.32.0 allows a local attacker to leak sensitive information…
4.7
Medium
CVE-2022-28657
Apport does not disable python crash handler before entering chroot
7.8
High