CVE-2021-32555: apport read_file() function could follow maliciously constructed symbolic links
Vulnerability summary
CVE-2021-32555 is a high (CVSS 7.3) vulnerability in canonical apport. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23% of scored vulnerabilities.
Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 12-06-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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-hwe-18.04 package apport hooks, it could expose private data to other local users.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-59Improper Link Resolution Before File AccessThe product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
- CWE-61UNIX Symbolic Link (Symlink) FollowingThe product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Canonical2 products
- 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
- ubuntu_linuxEOL18.04 | 20.04 | 20.10 | 21.04 | 21.10
Ubuntu1 product
- apport< 2.14.1-0ubuntu3.29+esm7 | < 2.20.1-0ubuntu2.30+esm1 | < 2.20.9-0ubuntu7.24 | < 2.20.11-0ubuntu27.18
2 vendors · 3 products