Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-8831

published medium CVSS 3.1 · 6.5

World writable root owned lock file created in user controllable location

Published
22 Apr 2020, 21:15:18 UTC
Updated
16 Sep 2024, 19:00:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Canonical — Apport2.20.1 to < 2.20.1-0ubuntu2.23 (affected · custom) · 2.20.9 to < 2.20.9-0ubuntu7.14 (affected · custom) · 2.20.11 to < 2.20.11-0ubuntu8.8 (affected · custom); changes: unaffected at 2.20.11-0ubuntu22 Version-specific Not stated canonical
Ubuntu bionic apport Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Ubuntu bionic apport-gtk Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Ubuntu bionic apport-kde Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Ubuntu bionic apport-noui Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Ubuntu bionic apport-retrace Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Ubuntu bionic apport-valgrind Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Ubuntu bionic dh-apport Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Show 26 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu bionic python-apport Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Ubuntu bionic python-problem-report Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Ubuntu bionic python3-apport Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Ubuntu bionic python3-problem-report Advisory build 2.20.9-0ubuntu7.14 USN-4315-1
Ubuntu esm apport Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu esm apport-gtk Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu esm apport-kde Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu esm apport-noui Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu esm apport-retrace Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu esm apport-valgrind Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu esm dh-apport Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu esm python-apport Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu esm python-problem-report Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu esm python3-apport Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu esm python3-problem-report Advisory build 2.14.1-0ubuntu3.29+esm4 USN-4315-2
Ubuntu xenial apport Advisory build 2.20.1-0ubuntu2.23 USN-4315-1
Ubuntu xenial apport-gtk Advisory build 2.20.1-0ubuntu2.23 USN-4315-1
Ubuntu xenial apport-kde Advisory build 2.20.1-0ubuntu2.23 USN-4315-1
Ubuntu xenial apport-noui Advisory build 2.20.1-0ubuntu2.23 USN-4315-1
Ubuntu xenial apport-retrace Advisory build 2.20.1-0ubuntu2.23 USN-4315-1
Ubuntu xenial apport-valgrind Advisory build 2.20.1-0ubuntu2.23 USN-4315-1
Ubuntu xenial dh-apport Advisory build 2.20.1-0ubuntu2.23 USN-4315-1
Ubuntu xenial python-apport Advisory build 2.20.1-0ubuntu2.23 USN-4315-1
Ubuntu xenial python-problem-report Advisory build 2.20.1-0ubuntu2.23 USN-4315-1
Ubuntu xenial python3-apport Advisory build 2.20.1-0ubuntu2.23 USN-4315-1
Ubuntu xenial python3-problem-report Advisory build 2.20.1-0ubuntu2.23 USN-4315-1

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.

en · canonical · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
canonical · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Canonical Apport 2.20.1 to < 2.20.1-0ubuntu2.23 (affected · custom)2.20.9 to < 2.20.9-0ubuntu7.14 (affected · custom)2.20.11 to < 2.20.11-0ubuntu8.8 (affected · custom); changes: unaffected at 2.20.11-0ubuntu22 canonical · cna

Weaknesses

1
  • CWE-379 CWE-379 Creation of Temporary File in Directory with Incorrect Permissions (canonical · cna)

References

3

Provider assertions

2

canonical · cna

World writable root owned lock file created in user controllable location

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
9e1f4b3a381c5e632bafd88383594d5982f0cea8b2ef8f409b59407afe93f930
Ingested
23 Sep 2026, 07:51:37 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected