CVE-2020-8831
published medium CVSS 3.1 · 6.5World writable root owned lock file created in user controllable location
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | Apport2.20.1 to < 2.20.1-0ubuntu2.23 (affected · custom) · 2.20.9 to < 2.20.9-0ubuntu7.14 (affected · custom) · 2.20.11 to < 2.20.11-0ubuntu8.8 (affected · custom); changes: unaffected at 2.20.11-0ubuntu22 | Version-specific | Not stated | canonical |
| Ubuntu | bionic | apport | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
| Ubuntu | bionic | apport-gtk | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
| Ubuntu | bionic | apport-kde | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
| Ubuntu | bionic | apport-noui | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
| Ubuntu | bionic | apport-retrace | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
| Ubuntu | bionic | apport-valgrind | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
| Ubuntu | bionic | dh-apport | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
Show 26 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | python-apport | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
| Ubuntu | bionic | python-problem-report | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
| Ubuntu | bionic | python3-apport | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
| Ubuntu | bionic | python3-problem-report | Advisory build | 2.20.9-0ubuntu7.14 | USN-4315-1 |
| Ubuntu | esm | apport | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | esm | apport-gtk | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | esm | apport-kde | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | esm | apport-noui | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | esm | apport-retrace | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | esm | apport-valgrind | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | esm | dh-apport | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | esm | python-apport | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | esm | python-problem-report | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | esm | python3-apport | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | esm | python3-problem-report | Advisory build | 2.14.1-0ubuntu3.29+esm4 | USN-4315-2 |
| Ubuntu | xenial | apport | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
| Ubuntu | xenial | apport-gtk | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
| Ubuntu | xenial | apport-kde | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
| Ubuntu | xenial | apport-noui | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
| Ubuntu | xenial | apport-retrace | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
| Ubuntu | xenial | apport-valgrind | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
| Ubuntu | xenial | dh-apport | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
| Ubuntu | xenial | python-apport | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
| Ubuntu | xenial | python-problem-report | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
| Ubuntu | xenial | python3-apport | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
| Ubuntu | xenial | python3-problem-report | Advisory build | 2.20.1-0ubuntu2.23 | USN-4315-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | Apport | 2.20.1 to < 2.20.1-0ubuntu2.23 (affected · custom)2.20.9 to < 2.20.9-0ubuntu7.14 (affected · custom)2.20.11 to < 2.20.11-0ubuntu8.8 (affected · custom); changes: unaffected at 2.20.11-0ubuntu22 | canonical · cna |
Weaknesses
1- CWE-379 CWE-379 Creation of Temporary File in Directory with Incorrect Permissions
References
3- https://launchpad.net/bugs/1862348
- https://usn.ubuntu.com/4315-1/
- USN-4315-2 https://usn.ubuntu.com/4315-2/
Provider assertions
2canonical · cna
World writable root owned lock file created in user controllable location
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9e1f4b3a381c5e632bafd88383594d5982f0cea8b2ef8f409b59407afe93f930
- Ingested
- 23 Sep 2026, 07:51:37 UTC
- Source record
- Official CVE record