mod_wsgi: Privilege escalation — GLSA 201412-21

Two vulnerabilities have been found in mod_wsgi, the worst of which could result in local privilege escalation.

Affected packages

www-apache/mod_wsgi on all architectures
Affected versions < 3.5
Unaffected versions >= 3.5

Background

mod_wsgi is an Apache2 module for running Python WSGI applications.

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

Release date
December 13, 2014

Latest revision
December 13, 2014: 1

Severity
high

Exploitable
local, remote

Bugzilla entries