{"id":"UBUNTU-CVE-2018-6552","details":"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/\u003cglobal pid\u003e/ 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/\u003cglobal pid\u003e/ 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.","modified":"2026-02-04T04:16:45.897984Z","published":"2018-05-30T18:00:00Z","related":["USN-3664-1","USN-3664-2"],"upstream":["CVE-2018-6552"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-6552"},{"type":"REPORT","url":"http://www.sbosnet.nl/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3664-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3664-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-6552"}],"affected":[{"package":{"name":"apport","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/apport@2.14.1-0ubuntu3.29?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.1-0ubuntu3.29"}]}],"versions":["2.12.5-0ubuntu2","2.12.6-0ubuntu1","2.12.7-0ubuntu1","2.12.7-0ubuntu2","2.12.7-0ubuntu3","2.12.7-0ubuntu6","2.13.1-0ubuntu1","2.13.1-0ubuntu2","2.13.2-0ubuntu2","2.13.2-0ubuntu3","2.13.2-0ubuntu4","2.13.2-0ubuntu5","2.13.3-0ubuntu1","2.14-0ubuntu1","2.14.1-0ubuntu1","2.14.1-0ubuntu2","2.14.1-0ubuntu3","2.14.1-0ubuntu3.1","2.14.1-0ubuntu3.2","2.14.1-0ubuntu3.3","2.14.1-0ubuntu3.4","2.14.1-0ubuntu3.5","2.14.1-0ubuntu3.6","2.14.1-0ubuntu3.7","2.14.1-0ubuntu3.8","2.14.1-0ubuntu3.9","2.14.1-0ubuntu3.10","2.14.1-0ubuntu3.11","2.14.1-0ubuntu3.12","2.14.1-0ubuntu3.13","2.14.1-0ubuntu3.15","2.14.1-0ubuntu3.16","2.14.1-0ubuntu3.18","2.14.1-0ubuntu3.19","2.14.1-0ubuntu3.20","2.14.1-0ubuntu3.21","2.14.1-0ubuntu3.23","2.14.1-0ubuntu3.24","2.14.1-0ubuntu3.25","2.14.1-0ubuntu3.27","2.14.1-0ubuntu3.28"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"apport"},{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"apport-gtk"},{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"apport-kde"},{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"apport-noui"},{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"apport-retrace"},{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"apport-valgrind"},{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"dh-apport"},{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"python-apport"},{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"python-problem-report"},{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"python3-apport"},{"binary_version":"2.14.1-0ubuntu3.29","binary_name":"python3-problem-report"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6552.json"}},{"package":{"name":"apport","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/apport@2.20.1-0ubuntu2.18?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.1-0ubuntu2.18"}]}],"versions":["2.19.1-0ubuntu3","2.19.2-0ubuntu1","2.19.2-0ubuntu2","2.19.2-0ubuntu3","2.19.2-0ubuntu4","2.19.2-0ubuntu5","2.19.2-0ubuntu6","2.19.2-0ubuntu8","2.19.2-0ubuntu9","2.19.3-0ubuntu1","2.19.3-0ubuntu2","2.19.3-0ubuntu3","2.19.4-0ubuntu1","2.19.4-0ubuntu2","2.20-0ubuntu2","2.20-0ubuntu3","2.20.1-0ubuntu1","2.20.1-0ubuntu2","2.20.1-0ubuntu2.1","2.20.1-0ubuntu2.2","2.20.1-0ubuntu2.4","2.20.1-0ubuntu2.5","2.20.1-0ubuntu2.6","2.20.1-0ubuntu2.9","2.20.1-0ubuntu2.10","2.20.1-0ubuntu2.12","2.20.1-0ubuntu2.13","2.20.1-0ubuntu2.14","2.20.1-0ubuntu2.15","2.20.1-0ubuntu2.16","2.20.1-0ubuntu2.17"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"apport"},{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"apport-gtk"},{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"apport-kde"},{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"apport-noui"},{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"apport-retrace"},{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"apport-valgrind"},{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"dh-apport"},{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"python-apport"},{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"python-problem-report"},{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"python3-apport"},{"binary_version":"2.20.1-0ubuntu2.18","binary_name":"python3-problem-report"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6552.json"}},{"package":{"name":"apport","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/apport@2.20.9-0ubuntu7.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.9-0ubuntu7.1"}]}],"versions":["2.20.7-0ubuntu3","2.20.7-0ubuntu3.1","2.20.7-0ubuntu4","2.20.8-0ubuntu1","2.20.8-0ubuntu2","2.20.8-0ubuntu3","2.20.8-0ubuntu4","2.20.8-0ubuntu5","2.20.8-0ubuntu6","2.20.8-0ubuntu7","2.20.8-0ubuntu8","2.20.8-0ubuntu9","2.20.8-0ubuntu10","2.20.9-0ubuntu1","2.20.9-0ubuntu2","2.20.9-0ubuntu4","2.20.9-0ubuntu5","2.20.9-0ubuntu6","2.20.9-0ubuntu7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"apport"},{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"apport-gtk"},{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"apport-kde"},{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"apport-noui"},{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"apport-retrace"},{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"apport-valgrind"},{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"dh-apport"},{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"python-apport"},{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"python-problem-report"},{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"python3-apport"},{"binary_version":"2.20.9-0ubuntu7.1","binary_name":"python3-problem-report"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6552.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}