{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "libapache2-mod-wsgi", "versions": [{"status": "affected", "version": "0", "lessThan": "3.5-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "libapache2-mod-wsgi-py3", "versions": [{"status": "affected", "version": "0", "lessThan": "3.5-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2014-0240"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2014-05-27T00:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 6.9, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"IMPORTANT\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "mod_wsgi", "versions": [{"status": "affected", "version": "0", "lessThan": "0:3.2-6.el6_5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "mod_wsgi", "versions": [{"status": "affected", "version": "0", "lessThan": "0:3.4-12.el7_0", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:7"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2014-0240.html"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2014-06-25T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 6.9, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Important\"}"}}}], "affected": [{"vendor": "redhat", "product": "mod_wsgi", "versions": [{"status": "affected", "version": "0", "lessThan": "0:3.2-6.el6_5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2014:0788"}, {"url": "https://access.redhat.com/security/cve/CVE-2014-0240"}], "descriptions": [{"lang": "en", "value": "The mod_wsgi adapter is an Apache module that provides a WSGI-compliant\ninterface for hosting Python-based web applications within Apache.\n\nIt was found that mod_wsgi did not properly drop privileges if the call to\nsetuid() failed. If mod_wsgi was set up to allow unprivileged users to run\nWSGI applications, a local user able to run a WSGI application could\npossibly use this flaw to escalate their privileges on the system.\n(CVE-2014-0240)\n\nNote: mod_wsgi is not intended to provide privilege separation for WSGI\napplications. Systems relying on mod_wsgi to limit or sandbox the\nprivileges of mod_wsgi applications should migrate to a different solution\nwith proper privilege separation.\n\nIt was discovered that mod_wsgi could leak memory of a hosted web\napplication via the \"Content-Type\" header. A remote attacker could possibly\nuse this flaw to disclose limited portions of the web application's memory.\n(CVE-2014-0242)\n\nRed Hat would like to thank Graham Dumpleton for reporting these issues.\nUpstream acknowledges Róbert Kisteleki as the original reporter of\nCVE-2014-0240, and Buck Golemon as the original reporter of CVE-2014-0242.\n\nAll mod_wsgi users are advised to upgrade to this updated package, which\ncontains backported patches to correct these issues."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2014-05-21T00:00:00Z", "x_subShortName": "redhat_6"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 6.9, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Important\"}"}}}], "affected": [{"vendor": "redhat", "product": "mod_wsgi", "versions": [{"status": "affected", "version": "0", "lessThan": "0:3.4-12.el7_0", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2014:1091"}, {"url": "https://access.redhat.com/security/cve/CVE-2014-0240"}], "descriptions": [{"lang": "en", "value": "The mod_wsgi adapter is an Apache module that provides a WSGI-compliant\ninterface for hosting Python-based web applications within Apache.\n\nIt was found that mod_wsgi did not properly drop privileges if the call to\nsetuid() failed. If mod_wsgi was set up to allow unprivileged users to run\nWSGI applications, a local user able to run a WSGI application could\npossibly use this flaw to escalate their privileges on the system.\n(CVE-2014-0240)\n\nNote: mod_wsgi is not intended to provide privilege separation for WSGI\napplications. Systems relying on mod_wsgi to limit or sandbox the\nprivileges of mod_wsgi applications should migrate to a different solution\nwith proper privilege separation.\n\nRed Hat would like to thank Graham Dumpleton for reporting this issue.\nUpstream acknowledges Róbert Kisteleki as the original reporter.\n\nAll mod_wsgi users are advised to upgrade to this updated package, which\ncontains a backported patch to correct this issue."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2014-05-21T00:00:00Z", "x_subShortName": "redhat_7"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Important\"}"}}}], "affected": [{"vendor": "suse", "product": "apache2-mod_wsgi", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.5.18-2.27", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:ses:6", "cpe:/o:suse:ses:7", "cpe:/o:suse:ses:7.1", "cpe:/o:suse:sle-module-public-cloud:15", "cpe:/o:suse:sle-module-public-cloud:15:sp1", "cpe:/o:suse:sle-module-public-cloud:15:sp2", "cpe:/o:suse:sle-module-public-cloud:15:sp3", "cpe:/o:suse:sle_hpc:15", "cpe:/o:suse:sle_hpc:15:sp1", "cpe:/o:suse:sle_hpc:15:sp2", "cpe:/o:suse:sle_hpc:15:sp3", "cpe:/o:suse:sles:15", "cpe:/o:suse:sles:15:sp1", "cpe:/o:suse:sles:15:sp2", "cpe:/o:suse:sles:15:sp3", "cpe:/o:suse:sles_sap:15", "cpe:/o:suse:sles_sap:15:sp1", "cpe:/o:suse:sles_sap:15:sp2", "cpe:/o:suse:sles_sap:15:sp3", "cpe:/o:suse:suse-manager-proxy:4.0", "cpe:/o:suse:suse-manager-proxy:4.1", "cpe:/o:suse:suse-manager-proxy:4.2", "cpe:/o:suse:suse-manager-retail-branch-server:4.0", "cpe:/o:suse:suse-manager-retail-branch-server:4.1", "cpe:/o:suse:suse-manager-retail-branch-server:4.2"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "apache2-mod_wsgi-python3", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.5.18-2.27", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:ses:6", "cpe:/o:suse:ses:7", "cpe:/o:suse:ses:7.1", "cpe:/o:suse:sle-module-public-cloud:15", "cpe:/o:suse:sle-module-server-applications:15:sp1", "cpe:/o:suse:sle-module-server-applications:15:sp2", "cpe:/o:suse:sle-module-server-applications:15:sp3", "cpe:/o:suse:sle_hpc:15", "cpe:/o:suse:sle_hpc:15:sp1", "cpe:/o:suse:sle_hpc:15:sp2", "cpe:/o:suse:sle_hpc:15:sp3", "cpe:/o:suse:sles:15", "cpe:/o:suse:sles:15:sp1", "cpe:/o:suse:sles:15:sp2", "cpe:/o:suse:sles:15:sp3", "cpe:/o:suse:sles_sap:15", "cpe:/o:suse:sles_sap:15:sp1", "cpe:/o:suse:sles_sap:15:sp2", "cpe:/o:suse:sles_sap:15:sp3", "cpe:/o:suse:suse-manager-proxy:4.0", "cpe:/o:suse:suse-manager-proxy:4.1", "cpe:/o:suse:suse-manager-proxy:4.2", "cpe:/o:suse:suse-manager-retail-branch-server:4.0", "cpe:/o:suse:suse-manager-retail-branch-server:4.1", "cpe:/o:suse:suse-manager-retail-branch-server:4.2"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 878550"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0240", "name": "Mitre CVE-2014-0240"}, {"url": "https://www.suse.com/security/cve/CVE-2014-0240", "name": "SUSE CVE-2014-0240"}, {"url": "https://lists.suse.com/pipermail/sle-updates/2015-March/002829.html", "name": "SUSE-RU-2015:0611-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2014-June/000868.html", "name": "SUSE-SU-2014:0794-1"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2014-July/000913.html", "name": "SUSE-SU-2014:0794-2"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2014-July/000937.html", "name": "SUSE-SU-2014:0956-1"}], "descriptions": [{"lang": "en", "value": "\n    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.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2021-04-30T00:00:00Z", "x_subShortName": "suse_server_15"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"medium\"}"}}}], "affected": [{"vendor": "canonical", "product": "libapache2-mod-wsgi", "versions": [{"status": "affected", "version": "0", "lessThan": "3.4-4ubuntu2.1.14.04.1", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "libapache2-mod-wsgi-py3", "versions": [{"status": "affected", "version": "0", "lessThan": "3.4-4ubuntu2.1.14.04.1", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}], "references": [{"url": "https://ubuntu.com/security/CVE-2014-0240"}, {"url": "https://ubuntu.com/security/notices/USN-2222-1"}, {"url": "https://www.cve.org/CVERecord?id=CVE-2014-0240"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2014-05-23T00:00:00Z", "x_subShortName": "canonical"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 6.9, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}], "affected": [{"vendor": "amazon", "product": "mod24_wsgi", "versions": [{"status": "affected", "version": "0", "lessThan": "3.5-1.17.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "mod24_wsgi-debuginfo", "versions": [{"status": "affected", "version": "0", "lessThan": "3.5-1.17.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "mod24_wsgi-py27", "versions": [{"status": "affected", "version": "0", "lessThan": "3.5-1.17.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "mod_wsgi", "versions": [{"status": "affected", "version": "0", "lessThan": "3.2-6.8.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "mod_wsgi-debuginfo", "versions": [{"status": "affected", "version": "0", "lessThan": "3.2-6.8.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0240"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000000", "shortName": "alas", "dateUpdated": "2014-07-09T23:02:00Z", "x_subShortName": "alas_1"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 6.2, "accessVector": "LOCAL", "vectorString": "AV:L/AC:H/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "HIGH", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}], "affected": [{"cpes": ["cpe:2.3:a:modwsgi:mod_wsgi:*:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:1.0:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:1.1:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:1.2:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:1.3:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:1.4:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:1.5:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:1.6:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:2.0:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:2.1:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:2.2:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:2.3:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:2.4:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:2.5:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:2.6:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:2.7:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:2.8:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:3.0:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:3.1:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:3.2:*:*:*:*:*:*:*", "cpe:2.3:a:modwsgi:mod_wsgi:3.3:*:*:*:*:*:*:*"], "vendor": "modwsgi", "product": "mod_wsgi", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "3.4"}, {"status": "affected", "version": "1.0"}, {"status": "affected", "version": "1.1"}, {"status": "affected", "version": "1.2"}, {"status": "affected", "version": "1.3"}, {"status": "affected", "version": "1.4"}, {"status": "affected", "version": "1.5"}, {"status": "affected", "version": "1.6"}, {"status": "affected", "version": "2.0"}, {"status": "affected", "version": "2.1"}, {"status": "affected", "version": "2.2"}, {"status": "affected", "version": "2.3"}, {"status": "affected", "version": "2.4"}, {"status": "affected", "version": "2.5"}, {"status": "affected", "version": "2.6"}, {"status": "affected", "version": "2.7"}, {"status": "affected", "version": "2.8"}, {"status": "affected", "version": "3.0"}, {"status": "affected", "version": "3.1"}, {"status": "affected", "version": "3.2"}, {"status": "affected", "version": "3.3"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://blog.dscpl.com.au/2014/05/security-release-for-modwsgi-version-35.html"}, {"url": "http://modwsgi.readthedocs.org/en/latest/release-notes/version-3.5.html"}, {"url": "http://rhn.redhat.com/errata/RHSA-2014-0789.html"}, {"url": "http://secunia.com/advisories/59551"}, {"url": "http://secunia.com/advisories/60094"}, {"url": "http://www.openwall.com/lists/oss-security/2014/05/21/1"}, {"url": "http://www.securityfocus.com/bid/67532"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "El módulo mod_wsgi anterior a 3.5 para Apache, cuando modo demonio está habilitado, no maneja debidamente códigos de error devueltos por setuid cuando se ejecuta en ciertos kernels de Linux, lo que permite a usuarios locales ganar privilegios a través de vectores relacionados con el número de procesos en ejecución."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-264", "description": "CWE-264"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2014-05-27T14:55:12Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2014-0240", "state": "PUBLISHED", "dateUpdated": "2025-04-12T10:46:40Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2014-05-27T14:55:12Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}