- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 201412-21 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: High Title: mod_wsgi: Privilege escalation Date: December 13, 2014 Bugs: #510938 ID: 201412-21 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======= Two vulnerabilities have been found in mod_wsgi, the worst of which could result in local privilege escalation. Background ========= mod_wsgi is an Apache2 module for running Python WSGI applications. Affected packages ================ ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 www-apache/mod_wsgi < 3.5 >= 3.5 Description ========== Two vulnerabilities have been found in mod_wsgi: * Error codes returned by setuid are not properly handled (CVE-2014-0240) * A memory leak exists via the "Content-Type" header (CVE-2014-0242) Impact ===== A local attacker may be able to gain escalated privileges. Furthermore, a remote attacker may be able to obtain sensitive information. Workaround ========= There is no known workaround at this time. Resolution ========= All mod_wsgi users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=www-apache/mod_wsgi-3.5" References ========= [ 1 ] CVE-2014-0240 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-0240 [ 2 ] CVE-2014-0242 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-0242 Availability =========== This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201412-21.xml Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org. License ====== Copyright 2014 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license. http://creativecommons.org/licenses/by-sa/2.5