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.
References
Link Resource
https://usn.ubuntu.com/3664-2/ Vendor Advisory
https://usn.ubuntu.com/usn/usn-3664-1 Vendor Advisory
Configurations

Configuration 1 (hide)

AND
cpe:2.3:a:apport_project:apport:2.14.1:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*

Configuration 2 (hide)

AND
cpe:2.3:a:apport_project:apport:2.20.9:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

Configuration 3 (hide)

AND
cpe:2.3:a:apport_project:apport:2.20.7:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*

Configuration 4 (hide)

AND
cpe:2.3:a:apport_project:apport:2.20.1:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*

History

No history.

Information

Published : 2018-05-31 22:29

Updated : 2023-12-10 12:30


NVD link : CVE-2018-6552

Mitre link : CVE-2018-6552

CVE.ORG link : CVE-2018-6552


JSON object : View

Products Affected

canonical

  • ubuntu_linux

apport_project

  • apport