Advisory

UBUNTU-CVE-2020-8831

Also known as: CVE-2020-8831

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2020-04-02 00:00 UTC
Modified
2026-02-04 04:38 UTC

Affected packages and fixes

apport

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.20.1-0ubuntu2.23 (ecosystem)

Fixed versions

2.20.1-0ubuntu2.23

Fix

  • Fixed version 2.20.1-0ubuntu2.23
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

apport

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.20.9-0ubuntu7.14 (ecosystem)

Fixed versions

2.20.9-0ubuntu7.14

Fix

  • Fixed version 2.20.9-0ubuntu7.14
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

apport

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.20.11-0ubuntu22 (ecosystem)

Fixed versions

2.20.11-0ubuntu22

Fix

  • Fixed version 2.20.11-0ubuntu22
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences