Vulnerability in Apport Project
CVE-2018-6552
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.
EPSS: 0.004 (32.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Apport_project Apport — versions 2.14.1, 2.20.9, 2.20.7
- Canonical Ubuntu_linux — versions 14.04, 18.04, 17.10
- N/a Apport — versions unspecified, 2.20.8-0ubuntu4, 2.14.1-0ubuntu3.28
Public proof-of-concept exploits
References
- security@ubuntu.com (x_refsource_UBUNTU, vendor-advisory, Vendor Advisory)
- security@ubuntu.com (x_refsource_UBUNTU, vendor-advisory, Vendor Advisory)
Frequently asked questions
- What is CVE-2018-6552?
- CVE-2018-6552 is a high-severity vulnerability in Apport Project. CVSS score: 7.8/10. Published 2018-05-31.
- How severe is CVE-2018-6552?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2018-6552 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.