RHSA-2014:1091

Type: Security
Severity: Important
Published: 2014-08-25
Red Hat Enterprise Linux 7

The mod_wsgi adapter is an Apache module that provides a WSGI-compliant interface for hosting Python-based web applications within Apache. 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. (CVE-2014-0240) 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. Red Hat would like to thank Graham Dumpleton for reporting this issue. Upstream acknowledges Róbert Kisteleki as the original reporter. All mod_wsgi users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:03:15.203Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-27T23:03:15.203Z UTC. Last updated 2026-10-07T11:43:38.741Z UTC.

Upstream Advisory

Affected Packages

  • mod_wsgi 3.4-12.el7_0

Interested in being alerted when there are new versions of mod_wsgi? Set up an alert.
RHSA-2014:1091: mod_wsgi security update | Package Alert