# CVE-2018-6552: Apport treats the container PID as the global PID when /proc/\<global\_pid\>/ is missing

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-05-31 · Modified: 2024-09-17
- Aliases: UBUNTU-CVE-2018-6552, USN-3664-1, USN-3664-2
- Record: https://cvemate.com/vulnerability/CVE-2018-6552 · JSON: https://cvemate.com/vulnerability/CVE-2018-6552/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.0, NVD) CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.382%, percentile 34.299%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apport\_project apport: 2.14.1 \| 2.20.9 \| 2.20.7 \| 2.20.1
- ubuntu apport (Ubuntu): \< 2.14.1-0ubuntu3.29 \| \< 2.20.1-0ubuntu2.18 \| \< 2.20.9-0ubuntu7.1

## References

- <https://usn.ubuntu.com/usn/usn-3664-1>
- <https://usn.ubuntu.com/3664-2/>
- <https://ubuntu.com/security/CVE-2018-6552>
- <http://www.sbosnet.nl/>
- <https://ubuntu.com/security/notices/USN-3664-1>
- <https://ubuntu.com/security/notices/USN-3664-2>
- <https://www.cve.org/CVERecord?id=CVE-2018-6552>

---

Data as of 2026-12-05T03:25:35.261Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
