GLSA-201412-21 : mod_wsgi: Privilege escalation

Medium Nessus Plugin ID 79974


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201412-21 (mod_wsgi: Privilege escalation)

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.


All mod_wsgi users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=www-apache/mod_wsgi-3.5'

See Also

Plugin Details

Severity: Medium

ID: 79974

File Name: gentoo_GLSA-201412-21.nasl

Version: $Revision: 1.3 $

Type: local

Published: 2014/12/15

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.2

Temporal Score: 5.4

Vector: CVSS2#AV:L/AC:H/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:mod_wsgi, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2014/12/13

Reference Information

CVE: CVE-2014-0240, CVE-2014-0242

BID: 67532, 67534

GLSA: 201412-21