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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.0, NVD) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.38% (percentile 24, 2026-11-26)
- **Published:** 2018-05-31T22:00:00.000Z
- **Modified:** 2026-06-17T02:02:00.670Z

## Who should check

- Anyone running Apport \>= 2.20.8-0ubuntu4, \< unspecified; \>= unspecified, \< 2.20.9-0ubuntu7.1
- Anyone running Apport \>= 2.20.1-0ubuntu2.15, \< unspecified; \>= unspecified, \< 2.20.1-0ubuntu2.18
- Anyone running Apport \>= 2.20.7-0ubuntu3.7, \< unspecified; \>= unspecified, \< 2.20.7-0ubuntu3.9
- Anyone running Apport 2.14.1-0ubuntu3.28

## 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.

## Affected and fixed versions

- Apport: \>= 2.20.8-0ubuntu4, \< unspecified; \>= unspecified, \< 2.20.9-0ubuntu7.1 (cvelist)
- Apport: \>= 2.20.1-0ubuntu2.15, \< unspecified; \>= unspecified, \< 2.20.1-0ubuntu2.18 (cvelist)
- Apport: \>= 2.20.7-0ubuntu3.7, \< unspecified; \>= unspecified, \< 2.20.7-0ubuntu3.9 (cvelist)
- Apport: 2.14.1-0ubuntu3.28 (cvelist)

## Mitigation

- Upgrade Apport to 2.20.9-0ubuntu7.1 or later.
- Upgrade Apport to 2.20.1-0ubuntu2.18 or later.
- Upgrade Apport to 2.20.7-0ubuntu3.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-6552. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-6552.md
Affected: Apport >= 2.20.8-0ubuntu4, < unspecified; >= unspecified, < 2.20.9-0ubuntu7.1; Apport >= 2.20.1-0ubuntu2.15, < unspecified; >= unspecified, < 2.20.1-0ubuntu2.18; Apport >= 2.20.7-0ubuntu3.7, < unspecified; >= unspecified, < 2.20.7-0ubuntu3.9; Apport 2.14.1-0ubuntu3.28
Fixed in: Apport 2.20.9-0ubuntu7.1, Apport 2.20.1-0ubuntu2.18, Apport 2.20.7-0ubuntu3.9

Steps:
1. Search this machine and project for Apport: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2018-6552 being exploited?

There is no confirmed exploitation: CVE-2018-6552 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-6552?

High: CVSS 7.8 (v3.0, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2018-6552?

Apport \>= 2.20.8-0ubuntu4, \< unspecified; \>= unspecified, \< 2.20.9-0ubuntu7.1; Apport \>= 2.20.1-0ubuntu2.15, \< unspecified; \>= unspecified, \< 2.20.1-0ubuntu2.18; Apport \>= 2.20.7-0ubuntu3.7, \< unspecified; \>= unspecified, \< 2.20.7-0ubuntu3.9; Apport 2.14.1-0ubuntu3.28.

### Is there a fix for CVE-2018-6552?

Yes. Fixed in Apport 2.20.9-0ubuntu7.1, Apport 2.20.1-0ubuntu2.18, Apport 2.20.7-0ubuntu3.9. Upgrade Apport to 2.20.9-0ubuntu7.1 or later. Upgrade Apport to 2.20.1-0ubuntu2.18 or later. Upgrade Apport to 2.20.7-0ubuntu3.9 or later.

### How do I check if I'm affected by CVE-2018-6552?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://usn.ubuntu.com/usn/usn-3664-1>
- vendor: <https://usn.ubuntu.com/3664-2/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-6552>

HTML: <https://flawdb.com/CVE-2018-6552> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-6552>
