CVE-2018-6552
Apport treats the container PID as the global PID when /proc/<global_pid>/ is missing
- Published
- Updated
- Reserved
- Assigned by
- canonical
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.39% · top 67% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
- Denial of service via resource exhaustion, privilege escalation, and escape from containers
Affected products
Apport
- affected 2.20.8-0ubuntu4 – < unspecified
- affected unspecified – < 2.20.9-0ubuntu7.1
Apport
- affected 2.20.1-0ubuntu2.15 – < unspecified
- affected unspecified – < 2.20.1-0ubuntu2.18
Apport
- affected 2.20.7-0ubuntu3.7 – < unspecified
- affected unspecified – < 2.20.7-0ubuntu3.9
Apport
- affected 2.14.1-0ubuntu3.28
References (2)
- USN-3664-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-3664-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .