CVE-2020-8833
published medium CVSS 3.1 · 5.6Apport race condition in crash report permissions
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
Time-of-check Time-of-use Race Condition vulnerability on crash report ownership change in Apport allows for a possible privilege escalation opportunity. If fs.protected_symlinks is disabled, this can be exploited between the os.open and os.chown calls when the Apport cron script clears out crash files of size 0. A symlink with the same name as the deleted file can then be created upon which chown will be called, changing the file owner to root. 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
- 5.6 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/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-367 CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
3- https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933
- https://usn.ubuntu.com/4315-1/
- USN-4315-2 https://usn.ubuntu.com/4315-2/
Provider assertions
2canonical · cna
Apport race condition in crash report permissions
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3498e2f06bac15385b006964df46eeb6a357df0de883794e0e0e06f8f31e7355
- Ingested
- 23 Sep 2026, 07:51:37 UTC
- Source record
- Official CVE record