CVE-2014-0240
mod_wsgi: possible privilege escalation in setuid() failure scenarios
Severity
ImportantRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · May 21, 2014
Updated · June 28, 2026
Description
It was found that mod_wsgi did not properly drop privileges if the call to setuid() failed. If mod_wsgi was set up to allow unprivileged users to run WSGI applications, a local user able to run a WSGI application could possibly use this flaw to escalate their privileges on the system.
Note: mod_wsgi is not intended to provide privilege separation for WSGI applications. Systems relying on mod_wsgi to limit or sandbox the privileges of mod_wsgi applications should migrate to a different solution with proper privilege separation.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 6.9AV:L/AC:M/Au:N/C:C/I:C/A:C
CWE-271 · Privilege Dropping / Lowering Errors