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

- Severity: High 7.3 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/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.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2021-06-12T03:40:41.158Z
- Modified: 2026-06-17T03:53:09.953Z
- Weaknesses: CWE-59, CWE-61
- Assigned by: canonical

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

(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
- canonical ubuntu_linux: 18.04; 20.04; 20.10; 21.04; 21.10

## Every score

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

## References

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

## Sources

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

---

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