CVE-2018-6552 json
Apport treats the container PID as the global PID when /proc/<global_pid>/ is missing
published 2018-05-31 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18304
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- n/a Apport 2.20.1-0ubuntu2.18, 2.20.7-0ubuntu3.9, 2.20.9-0ubuntu7.1
- apport Ubuntu 14.04 LTS 2.14.1-0ubuntu3.29
- apport Ubuntu 16.04 LTS 2.20.1-0ubuntu2.18
- apport Ubuntu 18.04 LTS 2.20.9-0ubuntu7.1
ubuntu advisories UBUNTU-CVE-2018-6552
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- n/a Apport
References
-
usn.ubuntu.com
/usn/usn-3664-1
vendor-advisory
-
usn.ubuntu.com
/3664-2/
vendor-advisory
Sources
- CVE List CVE-2018-6552
- NVD CVE-2018-6552
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.