CVE-2021-32551: canonical apport Link Following
CVSS: 7.3v3.1HighModified
AliasesUBUNTU-CVE-2021-32551
Published 12-06-2021Last modified 16-09-2024
Vulnerability summary
CVE-2021-32551 is a high (CVSS 7.3) Link Following vulnerability in canonical apport. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20% of scored vulnerabilities.
CVSS score
7.3/10
010
High · v3.1 (CVE.org)EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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 openjdk-15 package apport hooks, it could expose private data to other local users.
CVSS metrics
4 scores · 3 sources · 2 versionsHigh 7.3Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:LSources3 sources · 5.5–7.3
- 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
Low 2.1Preferred score · NVD (NIST)
AV:L/AC:L/Au:N/C:P/I:N/A:NSourcesSingle source
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
0.00 pp
From 0.29% on 18-09-2026
18-09-202618-10-2026
EPSS score0.29%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-59Improper Link Resolution Before File Access ('Link Following')The 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
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