# CVE-2021-32557: apport process_report() arbitrary file write

- Severity: Medium 5.2 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L`
- 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.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-12T03:40:43.352Z
- Modified: 2026-06-17T03:53:10.323Z
- Weaknesses: CWE-59, CWE-61
- Assigned by: canonical

## Description

It was discovered that the process_report() function in data/whoopsie-upload-all allowed arbitrary file writes via symlinks.

(As written by CVE List.)

## Affected

- Canonical apport: from 2.20.1 before 2.20.1-0ubuntu2.30+esm1; from 2.20.9 before 2.20.9-0ubuntu7.24; from 2.20.11-0ubuntu27 before 2.20.11-0ubuntu27.18; from 2.20.11-0ubuntu50 before 2.20.11-0ubuntu50.7; from 2.20.11-0ubuntu65 before 2.20.11-0ubuntu65.1; from 2.14.1-0ubuntu3 before 2.14.1-0ubuntu3.29+esm7; from 2.14.1-0ubuntu3 before 2.14.1-0ubuntu3.29\+esm7; from 2.20.1 before 2.20.1-0ubuntu2.30\+esm1

## Every score

- canonical: CVSS:3.1 5.2 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:2.0 3.6 Low `AV:L/AC:L/Au:N/C:N/I:P/A:P`

## References

- <https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904> (exploit, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-32557 · Whole record: https://cve.day/CVE-2021-32557.json · Rebuilt by cve.day 2026-11-25T22:58:01.842Z
