mod_wsgi: Privilege escalation

2014-12-13T00:00:00
ID GLSA-201412-21
Type gentoo
Reporter Gentoo Foundation
Modified 2014-12-13T00:00:00

Description

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"