7.8
Advisory Published
Updated

CVE-2018-6552: Apport treats the container PID as the global PID when /proc/<global_pid>/ is missing

First published: Thu May 31 2018(Updated: )

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.

Credit: security@ubuntu.com security@ubuntu.com

Affected SoftwareAffected VersionHow to fix
Apport Project Apport=2.14.1
Canonical Ubuntu Linux=14.04
Apport Project Apport=2.20.9
Canonical Ubuntu Linux=18.04
Apport Project Apport=2.20.7
Canonical Ubuntu Linux=17.10
Apport Project Apport=2.20.1
Canonical Ubuntu Linux=16.04
All of
Apport Project Apport=2.14.1
Canonical Ubuntu Linux=14.04
All of
Apport Project Apport=2.20.9
Canonical Ubuntu Linux=18.04
All of
Apport Project Apport=2.20.7
Canonical Ubuntu Linux=17.10
All of
Apport Project Apport=2.20.1
Canonical Ubuntu Linux=16.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203