---
title: "CVE-2014-0240\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2014-0240?format=md
keywords: index, follow
---

# CVE-2014-0240

Publication date 23 May 2014

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

The mod\_wsgi module before 3.5 for Apache, when daemon mode is enabled,
does not properly handle error codes returned by setuid when run on certain
Linux kernels, which allows local users to gain privileges via vectors
related to the number of running processes.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2014-0240?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mod-wsgi | 14.04 LTS trusty | Fixed 3.4-4ubuntu2.1.14.04.1 |
| 13.10 saucy | Fixed 3.4-4ubuntu2.1.13.10.1 |
| 12.04 LTS precise | Fixed 3.3-4ubuntu0.1 |
| 10.04 LTS lucid | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2014-0240?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

from upstream: The issue is believed to affect Linux systems
running kernel versions >= 2.6.0 and < 3.1.0.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| mod-wsgi | * Upstream:   [d9d5fea](https://github.com/GrahamDumpleton/mod_wsgi/commit/d9d5fea585b23991f76532a9b07de7fcd3b649f4) |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0240)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2014-0240)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2014-0240)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2014-0240)

### Related Ubuntu Security Notices (USN)

+ [USN-2222-1](https://usn.ubuntu.com/USN-2222-1)
+ mod\_wsgi vulnerabilities
+ 26 May 2014

### Other references

* <http://blog.dscpl.com.au/2014/05/security-release-for-modwsgi-version-35.html>
* <https://www.cve.org/CVERecord?id=CVE-2014-0240>
