# CVE-2020-8833: Apport race condition in crash report permissions

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.6
- **CVSS:** 5.6 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-367
- **Published:** 2020-04-22T21:15:18.859Z
- **Modified:** 2026-06-17T03:27:01.667Z

## Who should check

- Anyone running Canonical Apport \>= 2.20.1, \< 2.20.1-0ubuntu2.23; \>= 2.20.9, \< 2.20.9-0ubuntu7.14; \>= 2.20.11, \< 2.20.11-0ubuntu8.8

## 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.

## Affected and fixed versions

- Canonical Apport: \>= 2.20.1, \< 2.20.1-0ubuntu2.23; \>= 2.20.9, \< 2.20.9-0ubuntu7.14; \>= 2.20.11, \< 2.20.11-0ubuntu8.8 (cvelist)

## Mitigation

- Upgrade Apport to 2.20.11-0ubuntu8.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-8833. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-8833.md
Affected: Canonical Apport >= 2.20.1, < 2.20.1-0ubuntu2.23; >= 2.20.9, < 2.20.9-0ubuntu7.14; >= 2.20.11, < 2.20.11-0ubuntu8.8
Fixed in: Canonical Apport 2.20.1-0ubuntu2.23, Canonical Apport 2.20.9-0ubuntu7.14, Canonical Apport 2.20.11-0ubuntu8.8

Steps:
1. Search this machine and project for Canonical Apport: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-8833 being exploited?

There is no confirmed exploitation: CVE-2020-8833 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-8833?

Medium: CVSS 5.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2020-8833?

Canonical Apport \>= 2.20.1, \< 2.20.1-0ubuntu2.23; \>= 2.20.9, \< 2.20.9-0ubuntu7.14; \>= 2.20.11, \< 2.20.11-0ubuntu8.8.

### Is there a fix for CVE-2020-8833?

Yes. Fixed in Canonical Apport 2.20.1-0ubuntu2.23, Canonical Apport 2.20.9-0ubuntu7.14, Canonical Apport 2.20.11-0ubuntu8.8. Upgrade Apport to 2.20.11-0ubuntu8.8 or later.

### How do I check if I'm affected by CVE-2020-8833?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://usn.ubuntu.com/4315-2/>
- exploit: <https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933>
- other: <https://usn.ubuntu.com/4315-1/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-8833>

HTML: <https://flawdb.com/CVE-2020-8833> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-8833>
