ALAS-2014-375


Amazon Linux AMI Security Advisory: ALAS-2014-375
Advisory Release Date: 2014-09-19 10:37 Pacific
Severity: Important

Issue Overview:

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.

mod_wsgi allows you to host Python applications on the Apache HTTP Server. It was found that a remote attacker could leak portions of a mod_wsgi application's memory via the Content-Type header.


Affected Packages:

mod24_wsgi


Issue Correction:
Run yum update mod24_wsgi to update your system.

New Packages:
i686:
    mod24_wsgi-3.5-1.17.amzn1.i686
    mod24_wsgi-debuginfo-3.5-1.17.amzn1.i686
    mod24_wsgi-py27-3.5-1.17.amzn1.i686

src:
    mod24_wsgi-3.5-1.17.amzn1.src

x86_64:
    mod24_wsgi-py27-3.5-1.17.amzn1.x86_64
    mod24_wsgi-3.5-1.17.amzn1.x86_64
    mod24_wsgi-debuginfo-3.5-1.17.amzn1.x86_64