Skip to content
Fencer Intel
medium 6.2

CVE-2014-0240 json

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…

published 2014-05-27 12 y ago modified 2026-06-17 4 mo ago also EUVD-2014-0278

cvss
6.2
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 35%
public exploits
0
none known

Summary

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.

Patch / fix

  • mod-wsgi Debian 14, Debian 13, Debian 12 3.5-1

debian advisories DEBIAN-CVE-2014-0240

  • mod-wsgi Ubuntu 14.04 LTS 3.4-4ubuntu2.1.14.04.1

ubuntu advisories UBUNTU-CVE-2014-0240

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mod_wsgi RHEL 6 3.2-6.el6_5
  • mod_wsgi RHEL 7 3.4-12.el7_0
  • python27-mod_wsgi RHEL 1 SOFTWARE_COLLECTIONS 3.4-12.el6
  • python27-mod_wsgi RHEL 1 SOFTWARE_COLLECTIONS 3.4-13.el7
  • python33-mod_wsgi RHEL 1 SOFTWARE_COLLECTIONS 3.4-14.el6
  • python33-mod_wsgi RHEL 1 SOFTWARE_COLLECTIONS 3.4-13.el7

red hat advisories RHSA-2014:0788RHSA-2014:1091RHSA-2014:0789

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2014-0240 updated cvss 6.9

mod_wsgi: possible privilege escalation in setuid() failure scenarios

  • Red Hat OpenShift Enterprise 2 python27-mod_wsgi
    affected: no fix available
  • Red Hat Satellite 5 mod_wsgi Red Hat Subscription Asset Manager mod_wsgi
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client Optional (v. 7) mod_wsgi 3.4-12.el7_0 Red Hat Enterprise Linux ComputeNode Optional (v. 7) mod_wsgi 3.4-12.el7_0
    fixed: vendor fix RHSA-2014:1091
  • Red Hat Enterprise Linux Desktop Optional (v. 6) mod_wsgi 3.2-6.el6_5 Red Hat Enterprise Linux HPC Node Optional (v. 6) mod_wsgi 3.2-6.el6_5 Red Hat Enterprise Linux Server (v. 6) mod_wsgi 3.2-6.el6_5
    fixed: vendor fix RHSA-2014:0788
  • Red Hat Enterprise Linux Server (v. 7) mod_wsgi 3.4-12.el7_0
    fixed: vendor fix RHSA-2014:1091
  • Red Hat Enterprise Linux Workstation (v. 6) mod_wsgi 3.2-6.el6_5
    fixed: vendor fix RHSA-2014:0788
  • Red Hat Enterprise Linux Workstation (v. 7) mod_wsgi 3.4-12.el7_0
    fixed: vendor fix RHSA-2014:1091
  • Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) python27-mod_wsgi 3.4-12.el6, python33-mod_wsgi 3.4-14.el6 Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) python27-mod_wsgi 3.4-13.el7, python33-mod_wsgi 3.4-13.el7 Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.3) python27-mod_wsgi 3.4-12.el6, python33-mod_wsgi 3.4-14.el6 Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) python27-mod_wsgi 3.4-12.el6, python33-mod_wsgi 3.4-14.el6 Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) python27-mod_wsgi 3.4-12.el6, python33-mod_wsgi 3.4-14.el6 Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) python27-mod_wsgi 3.4-13.el7, python33-mod_wsgi 3.4-13.el7
    fixed: vendor fix RHSA-2014:0789
show 1 more
  • Red Hat Satellite 6 mod_wsgi
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 6.2 AV:L/AC:H/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.