GLSA 201412-21: mod_wsgi: Privilege escalation

Severity:high
Title:mod_wsgi: Privilege escalation
Date:12/13/2014
Bugs: #510938
ID:201412-21

Synopsis

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

Background

mod_wsgi is an Apache2 module for running Python WSGI applications.

Affected packages

Package Vulnerable Unaffected Architecture(s)
www-apache/mod_wsgi < 3.5 >= 3.5 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201412-21.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!