CVE-2018-6552
Apport treats the container PID as the global PID when /proc/<global_pid>/ is missing
Reported by canonical · Published May 31, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| apport | Ubuntu:18.04:LTS | 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 | n/a | unspecified, 2.20.1-0ubuntu2.18 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Apport | 2.20.8-0ubuntu4, unspecified |
| n/a | Apport | 2.20.1-0ubuntu2.15, unspecified |
| n/a | Apport | 2.20.7-0ubuntu3.7, unspecified |
| n/a | Apport | 2.14.1-0ubuntu3.28 |
| n/a | Apport | *, *, * |
Timeline
- May 30, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jul 16, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-6552
vulnetix vdb fixes CVE-2018-6552
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-2018-6552/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3664-1 vendor-advisoryx_refsource_UBUNTU
- USN-3664-2 vendor-advisoryx_refsource_UBUNTU