CVE-2021-32557 in Canonical Apport
It was discovered that the process_report() function in data/whoopsie-upload-all allowed arbitrary file writes via symlinks.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Apport | ≥ 2.14.1-0ubuntu3, < 2.14.1-0ubuntu3.29+esm7 ≥ 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 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
It was discovered that the process_report() function in data/whoopsie-upload-all allowed arbitrary file writes via symlinks.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-32557 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-275529-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| Published | 2021-06-12 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-59: Improper Link Resolution Before File Access
Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.
CWE-61: CWE-61
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-61
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59
CAPEC-76 Manipulating Web Input to File System Calls via CWE-59
CAPEC-132 Symlink Attack via CWE-59
CAPEC-17 Using Malicious Files via CWE-59
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the process_report() function within the whoopsie-upload-all component allows for arbitrary file writes via symbolic links, posing a security risk.
An attacker could exploit this vulnerability by creating malicious symbolic links that point to critical system files. When the process_report() function processes a report, it may follow these symlinks and write arbitrary data to the targeted files, potentially leading to system compromise or data corruption.
Questions
What is CVE-2021-32557?
A vulnerability in the process_report() function within the whoopsie-upload-all component allows for arbitrary file writes via symbolic links, posing a security risk.
What is the CVSS score for CVE-2021-32557?
CVE-2021-32557 has CVSS 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H. EPSS: 0.4%.
Is CVE-2021-32557 actively exploited?
No confirmed active exploitation of CVE-2021-32557 as of 2026-05-30.
How do I remediate CVE-2021-32557?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2021-32557?
CVE-2021-32557 affects Canonical Apport.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Apport","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.