# CVE-2021-32554: apport read\_file() function could follow maliciously constructed symbolic links

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

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-28)
- **CWE:** CWE-59, CWE-61
- **Published:** 2021-06-12T03:40:41.158Z
- **Modified:** 2026-06-17T03:53:09.953Z

## Who should check

- Anyone running Canonical apport \>= 2.20.1, \< 2.20.1-0ubuntu2.30+esm1; \>= 2.20.9, \< 2.20.9-0ubuntu7.24; \>= 2.20.11-0ubuntu27, \< 2.20.11-0ubuntu27.18; \>= 2.20.11-0ubuntu50, \< 2.20.11-0ubuntu50.7; \>= 2.20.11-0ubuntu65, \< 2.20.11-0ubuntu65.1; \>= 2.14.1-0ubuntu3, \< 2.14.1-0ubuntu3.29+esm7

## Description

It was discovered that read\_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the xorg package apport hooks, it could expose private data to other local users.

## Affected and fixed versions

- Canonical apport: \>= 2.20.1, \< 2.20.1-0ubuntu2.30+esm1; \>= 2.20.9, \< 2.20.9-0ubuntu7.24; \>= 2.20.11-0ubuntu27, \< 2.20.11-0ubuntu27.18; \>= 2.20.11-0ubuntu50, \< 2.20.11-0ubuntu50.7; \>= 2.20.11-0ubuntu65, \< 2.20.11-0ubuntu65.1; \>= 2.14.1-0ubuntu3, \< 2.14.1-0ubuntu3.29+esm7 (cvelist)

## Mitigation

- Upgrade apport to 2.14.1-0ubuntu3.29+esm7 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-32554.md
Affected: Canonical apport >= 2.20.1, < 2.20.1-0ubuntu2.30+esm1; >= 2.20.9, < 2.20.9-0ubuntu7.24; >= 2.20.11-0ubuntu27, < 2.20.11-0ubuntu27.18; >= 2.20.11-0ubuntu50, < 2.20.11-0ubuntu50.7; >= 2.20.11-0ubuntu65, < 2.20.11-0ubuntu65.1; >= 2.14.1-0ubuntu3, < 2.14.1-0ubuntu3.29+esm7
Fixed in: Canonical apport 2.20.1-0ubuntu2.30+esm1, Canonical apport 2.20.9-0ubuntu7.24, Canonical apport 2.20.11-0ubuntu27.18, Canonical apport 2.20.11-0ubuntu50.7, Canonical apport 2.20.11-0ubuntu65.1, Canonical apport 2.14.1-0ubuntu3.29+esm7

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-2021-32554 being exploited?

There is no confirmed exploitation: CVE-2021-32554 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2021-32554?

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-32554?

Canonical apport \>= 2.20.1, \< 2.20.1-0ubuntu2.30+esm1; \>= 2.20.9, \< 2.20.9-0ubuntu7.24; \>= 2.20.11-0ubuntu27, \< 2.20.11-0ubuntu27.18; \>= 2.20.11-0ubuntu50, \< 2.20.11-0ubuntu50.7; \>= 2.20.11-0ubuntu65, \< 2.20.11-0ubuntu65.1; \>= 2.14.1-0ubuntu3, \< 2.14.1-0ubuntu3.29+esm7.

### Is there a fix for CVE-2021-32554?

Yes. Fixed in Canonical apport 2.20.1-0ubuntu2.30+esm1, Canonical apport 2.20.9-0ubuntu7.24, Canonical apport 2.20.11-0ubuntu27.18, Canonical apport 2.20.11-0ubuntu50.7, Canonical apport 2.20.11-0ubuntu65.1, Canonical apport 2.14.1-0ubuntu3.29+esm7. Upgrade apport to 2.14.1-0ubuntu3.29+esm7 or later.

### How do I check if I'm affected by CVE-2021-32554?

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://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904>

## 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-2021-32554>

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