VDB

CVE-2020-8831

CVE-2020-8831 PUBLISHED CVSS 6.5 MEDIUM

World writable root owned lock file created in user controllable location

Reported by canonical · Published April 22, 2020

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ApportCanonical2.20.11-0ubuntu8.8, 2.20.9-0ubuntu7.14, 2.20.1-0ubuntu2.23
apportUbuntu:16.04:LTS2.20.1-0ubuntu2.23
apportUbuntu:20.04:LTS2.20.11-0ubuntu22
apportUbuntu:Pro:14.04:LTS2.14.1-0ubuntu3.29+esm4
apportUbuntu:18.04:LTS2.20.9-0ubuntu7.14

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Affected products

VendorProductVersions
CanonicalApport2.20.1, 2.20.9, 2.20.11
CanonicalApport2.20.9, 2.20.11, 2.20.1

Timeline

  • Apr 2, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jul 16, 2025 CVE Updated
  • Mar 7, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (3 in total, the first dated here)
  • Aug 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-8831
vulnetix vdb fixes CVE-2020-8831

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8831/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_CONFIRM
  • x_refsource_CONFIRM
  • USN-4315-2 vendor-advisoryx_refsource_UBUNTU
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›