Advisory

UBUNTU-CVE-2018-6552

Also known as: CVE-2018-6552

Summary

The record has no summary.

Details

Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/<global pid>/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/<global pid>/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2018-05-30 18:00 UTC
Modified
2026-02-04 04:16 UTC

Affected packages and fixes

apport

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 2.14.1-0ubuntu3.29 (ecosystem)

Fixed versions

2.14.1-0ubuntu3.29

Fix

  • Fixed version 2.14.1-0ubuntu3.29
    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 16.04

Affected

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

Fixed versions

2.20.1-0ubuntu2.18

Fix

  • Fixed version 2.20.1-0ubuntu2.18
    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.1 (ecosystem)

Fixed versions

2.20.9-0ubuntu7.1

Fix

  • Fixed version 2.20.9-0ubuntu7.1
    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