mod_wsgi: possible privilege escalation in setuid() failure scenarios
Published May 27, 2014
6.2
MEDIUMCVSS 2.0
EPSS 0.41%
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.
Affected products
No data.
- ≤ 3.4
- 1.0
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
- 1.6
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- 2.8
- 3.0
- 3.1
- 3.2
- 3.3
No data.
Red Hat Enterprise Linux 6
mod_wsgi-0:3.2-6.el6_5
Fixed · RHSA-2014:0788
Red Hat Enterprise Linux 7
mod_wsgi-0:3.4-12.el7_0
Fixed · RHSA-2014:1091
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
python27-mod_wsgi-0:3.4-12.el6
Fixed · RHSA-2014:0789
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
python33-mod_wsgi-0:3.4-14.el6
Fixed · RHSA-2014:0789
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.3 EUS
python27-mod_wsgi-0:3.4-12.el6
Fixed · RHSA-2014:0789
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.3 EUS
python33-mod_wsgi-0:3.4-14.el6
Fixed · RHSA-2014:0789
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
python27-mod_wsgi-0:3.4-12.el6
Fixed · RHSA-2014:0789
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
python33-mod_wsgi-0:3.4-14.el6
Fixed · RHSA-2014:0789
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
python27-mod_wsgi-0:3.4-13.el7
Fixed · RHSA-2014:0789
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
python33-mod_wsgi-0:3.4-13.el7
Fixed · RHSA-2014:0789
Red Hat OpenShift Enterprise 2
python27-mod_wsgi
Affected
Red Hat Satellite 5
mod_wsgi
Will not fix
Red Hat Satellite 6
mod_wsgi
Not affected
Red Hat Subscription Asset Manager
mod_wsgi
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | mod_wsgi-0:3.2-6.el6_5 | Fixed | RHSA-2014:0788 |
| Red Hat Enterprise Linux 7 | mod_wsgi-0:3.4-12.el7_0 | Fixed | RHSA-2014:1091 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | python27-mod_wsgi-0:3.4-12.el6 | Fixed | RHSA-2014:0789 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | python33-mod_wsgi-0:3.4-14.el6 | Fixed | RHSA-2014:0789 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.3 EUS | python27-mod_wsgi-0:3.4-12.el6 | Fixed | RHSA-2014:0789 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.3 EUS | python33-mod_wsgi-0:3.4-14.el6 | Fixed | RHSA-2014:0789 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | python27-mod_wsgi-0:3.4-12.el6 | Fixed | RHSA-2014:0789 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | python33-mod_wsgi-0:3.4-14.el6 | Fixed | RHSA-2014:0789 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | python27-mod_wsgi-0:3.4-13.el7 | Fixed | RHSA-2014:0789 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | python33-mod_wsgi-0:3.4-13.el7 | Fixed | RHSA-2014:0789 |
| Red Hat OpenShift Enterprise 2 | python27-mod_wsgi | Affected | n/a |
| Red Hat Satellite 5 | mod_wsgi | Will not fix | n/a |
| Red Hat Satellite 6 | mod_wsgi | Not affected | n/a |
| Red Hat Subscription Asset Manager | mod_wsgi | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:H/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.41% (0.00411) | 32.99th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.41% (0.00411) | 32.55th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.05% (0.00049) | 12.36th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.03% (0.01034) | 39.91th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.03% (0.01034) | 37.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.03% (0.01034) | 20.32th | v2 (v2022.01.01) |
References (11)
- http://blog.dscpl.com.au/2014/05/security-release-for-modwsgi-version-35.html x_refsource_CONFIRM
- http://modwsgi.readthedocs.org/en/latest/release-notes/version-3.5.html x_refsource_CONFIRM
- http://rhn.redhat.com/errata/RHSA-2014-0789.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/59551 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/60094 third-party-advisoryx_refsource_SECUNIA
- http://www.openwall.com/lists/oss-security/2014/05/21/1 mailing-listx_refsource_MLIST
- http://www.securityfocus.com/bid/67532 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2014-0240 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1101863 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2014-0240
- https://www.cve.org/CVERecord?id=CVE-2014-0240
| Link | Providers | Tags |
|---|---|---|
| http://blog.dscpl.com.au/2014/05/security-release-for-modwsgi-version-35.html | x_refsource_CONFIRM | |
| http://modwsgi.readthedocs.org/en/latest/release-notes/version-3.5.html | x_refsource_CONFIRM | |
| http://rhn.redhat.com/errata/RHSA-2014-0789.html | vendor-advisoryx_refsource_REDHAT | |
| http://secunia.com/advisories/59551 | third-party-advisoryx_refsource_SECUNIA | |
| http://secunia.com/advisories/60094 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.openwall.com/lists/oss-security/2014/05/21/1 | mailing-listx_refsource_MLIST | |
| http://www.securityfocus.com/bid/67532 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/security/cve/CVE-2014-0240 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1101863 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2014-0240 | ||
| https://www.cve.org/CVERecord?id=CVE-2014-0240 |
Change history (0)
No recorded changes yet.