{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-6552","id":"CVE-2018-6552","title":"Apport treats the container PID as the global PID when /proc/<global_pid>/  is missing","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 ha","descriptionLong":"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.","published":"2018-05-31T22:00:00.000Z","updated":"2026-06-17T02:02:00.670Z","reserved":"2018-02-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","rating":"high","source":"NVD"}],"rating":"high","products":["Apport"],"affectedProducts":[{"vendor":"n/a","product":"Apport","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"affected","version":"2.20.8-0ubuntu4","versionType":"custom"},{"lessThan":"2.20.9-0ubuntu7.1","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":["Ubuntu 18.04"]},{"vendor":"n/a","product":"Apport","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"affected","version":"2.20.1-0ubuntu2.15","versionType":"custom"},{"lessThan":"2.20.1-0ubuntu2.18","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":["Ubuntu 16.04"]},{"vendor":"n/a","product":"Apport","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"affected","version":"2.20.7-0ubuntu3.7","versionType":"custom"},{"lessThan":"2.20.7-0ubuntu3.9","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":["Ubuntu 17.10"]},{"vendor":"n/a","product":"Apport","defaultStatus":null,"versions":[{"status":"affected","version":"2.14.1-0ubuntu3.28"}],"platforms":["Ubuntu 14.04"]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://usn.ubuntu.com/usn/usn-3664-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Vendor Advisory"]},{"url":"https://usn.ubuntu.com/3664-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00382,"epssPercentile":0.328,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-6552","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6552","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-6552","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-6552","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}