CVE-2020-8831 in Apport Project Apport and 1 more product
Apport creates a world writable lock file with root ownership in the world writable /var/lock/apport directory. If the apport/ directory does not exist (this is not uncommon as /var/lock is a tmpfs), it will create the directory, otherwise it will simply continue execution using the existing directory. This allows f...
Affects 2 products from 2 vendors. 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, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apport Project | Apport | No version listed by the source |
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 19.10 |
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.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Apport creates a world writable lock file with root ownership in the world writable /var/lock/apport directory. If the apport/ directory does not exist (this is not uncommon as /var/lock is a tmpfs), it will create the directory, otherwise it will simply continue execution using the existing directory. This allows for a symlink attack if an attacker were to create a symlink at /var/lock/apport, changing apport's lock file location. This file could then be used to escalate privileges, for example. Fixed in versions 2.20.1-0ubuntu2.23, 2.20.9-0ubuntu7.14, 2.20.11-0ubuntu8.8 and 2.20.11-0ubuntu22.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-8831 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-186263-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Published | 2020-04-22 |
| Last modified | 2026-06-17 |
| 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-379: CWE-379
Related attack patterns (CAPEC)
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
CVE-2020-8831 involves Apport creating a world writable lock file with root ownership in a world writable directory, potentially allowing for symlink attacks.
An attacker can create a symlink at /var/lock/apport, which could lead to unauthorized access or privilege escalation if the directory does not exist or is improperly managed.
Questions
What is CVE-2020-8831?
CVE-2020-8831 involves Apport creating a world writable lock file with root ownership in a world writable directory, potentially allowing for symlink attacks.
What is the CVSS score for CVE-2020-8831?
CVE-2020-8831 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.7%.
Is CVE-2020-8831 actively exploited?
No confirmed active exploitation of CVE-2020-8831 as of 2026-09-25.
How do I remediate CVE-2020-8831?
Priority: MEDIUM.
What systems are affected by CVE-2020-8831?
CVE-2020-8831 affects Apport Project Apport; Canonical Ubuntu Linux.
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":"Apport Project","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 2026-06-17.