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.03% · 9.9th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:18.04:LTS | apport | 0, 2.20.7-0ubuntu3.1, 2.20.8-0ubuntu1 |
| Ubuntu:14.04:LTS | apport | 0, 2.12.5-0ubuntu2, 2.12.7-0ubuntu1 |
| Ubuntu:16.04:LTS | apport | 2.19.1-0ubuntu3, 2.19.2-0ubuntu1, 2.19.2-0ubuntu2 |
Exploit Intelligence
- USN-3664-1 (circl)
- USN-3664-2 (circl)
Timeline
- May 30, 2018 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 28, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2018-6552 third-party-advisory
- http://www.sbosnet.nl/ third-party-advisory
- https://ubuntu.com/security/notices/USN-3664-1 vendor-advisory
- https://ubuntu.com/security/notices/USN-3664-2 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2018-6552 third-party-advisory