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

- Severity: Medium 5.6 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-04-22T21:15:18.859Z
- Modified: 2026-06-17T03:27:01.667Z
- Weaknesses: CWE-367
- Assigned by: canonical

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

(As written by CVE List.)

## Affected

- Canonical Apport: from 2.20.1 before 2.20.1-0ubuntu2.23; from 2.20.9 before 2.20.9-0ubuntu7.14; from 2.20.11 before 2.20.11-0ubuntu8.8
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 19.10
- apport_project apport: no versions given

## Every score

- canonical: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 1.9 Low `AV:L/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1862933> (exploit, third-party-advisory)
- <https://usn.ubuntu.com/4315-1/> (third-party-advisory)
- <https://usn.ubuntu.com/4315-2/> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2020-8833](https://www.cve.org/CVERecord?id=CVE-2020-8833), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2020-8833](https://nvd.nist.gov/vuln/detail/CVE-2020-8833), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8833 · Whole record: https://cve.day/CVE-2020-8833.json · Rebuilt by cve.day 2026-11-25T22:57:52.162Z
