cve-2014-2667
Vulnerability from cvelistv5
Published
2014-11-16 01:00
Modified
2024-08-06 10:21
Severity ?
EPSS score ?
Summary
Race condition in the _get_masked_mode function in Lib/os.py in Python 3.2 through 3.5, when exist_ok is set to true and multiple threads are used, might allow local users to bypass intended file permissions by leveraging a separate application vulnerability before the umask has been set to the expected value.
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-06T10:21:36.046Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "[oss-security] 20140328 CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python", "tags": [ "mailing-list", "x_refsource_MLIST", "x_transferred" ], "url": "http://www.openwall.com/lists/oss-security/2014/03/28/15" }, { "name": "openSUSE-SU-2014:0597", "tags": [ "vendor-advisory", "x_refsource_SUSE", "x_transferred" ], "url": "http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html" }, { "name": "GLSA-201503-10", "tags": [ "vendor-advisory", "x_refsource_GENTOO", "x_transferred" ], "url": "https://security.gentoo.org/glsa/201503-10" }, { "name": "[oss-security] 20140330 Re: CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python", "tags": [ "mailing-list", "x_refsource_MLIST", "x_transferred" ], "url": "http://www.openwall.com/lists/oss-security/2014/03/30/4" }, { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "http://bugs.python.org/issue21082" }, { "name": "[oss-security] 20140329 Re: [PSRT] CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python", "tags": [ "mailing-list", "x_refsource_MLIST", "x_transferred" ], "url": "http://www.openwall.com/lists/oss-security/2014/03/29/5" }, { "name": "openSUSE-SU-2014:0596", "tags": [ "vendor-advisory", "x_refsource_SUSE", "x_transferred" ], "url": "http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html" }, { "name": "openSUSE-SU-2020:0086", "tags": [ "vendor-advisory", "x_refsource_SUSE", "x_transferred" ], "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "n/a", "vendor": "n/a", "versions": [ { "status": "affected", "version": "n/a" } ] } ], "datePublic": "2014-03-28T00:00:00", "descriptions": [ { "lang": "en", "value": "Race condition in the _get_masked_mode function in Lib/os.py in Python 3.2 through 3.5, when exist_ok is set to true and multiple threads are used, might allow local users to bypass intended file permissions by leveraging a separate application vulnerability before the umask has been set to the expected value." } ], "problemTypes": [ { "descriptions": [ { "description": "n/a", "lang": "en", "type": "text" } ] } ], "providerMetadata": { "dateUpdated": "2020-01-21T21:06:40", "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "shortName": "mitre" }, "references": [ { "name": "[oss-security] 20140328 CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python", "tags": [ "mailing-list", "x_refsource_MLIST" ], "url": "http://www.openwall.com/lists/oss-security/2014/03/28/15" }, { "name": "openSUSE-SU-2014:0597", "tags": [ "vendor-advisory", "x_refsource_SUSE" ], "url": "http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html" }, { "name": "GLSA-201503-10", "tags": [ "vendor-advisory", "x_refsource_GENTOO" ], "url": "https://security.gentoo.org/glsa/201503-10" }, { "name": "[oss-security] 20140330 Re: CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python", "tags": [ "mailing-list", "x_refsource_MLIST" ], "url": "http://www.openwall.com/lists/oss-security/2014/03/30/4" }, { "tags": [ "x_refsource_CONFIRM" ], "url": "http://bugs.python.org/issue21082" }, { "name": "[oss-security] 20140329 Re: [PSRT] CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python", "tags": [ "mailing-list", "x_refsource_MLIST" ], "url": "http://www.openwall.com/lists/oss-security/2014/03/29/5" }, { "name": "openSUSE-SU-2014:0596", "tags": [ "vendor-advisory", "x_refsource_SUSE" ], "url": "http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html" }, { "name": "openSUSE-SU-2020:0086", "tags": [ "vendor-advisory", "x_refsource_SUSE" ], "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html" } ], "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2014-2667", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Race condition in the _get_masked_mode function in Lib/os.py in Python 3.2 through 3.5, when exist_ok is set to true and multiple threads are used, might allow local users to bypass intended file permissions by leveraging a separate application vulnerability before the umask has been set to the expected value." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "[oss-security] 20140328 CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python", "refsource": "MLIST", "url": "http://www.openwall.com/lists/oss-security/2014/03/28/15" }, { "name": "openSUSE-SU-2014:0597", "refsource": "SUSE", "url": "http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html" }, { "name": "GLSA-201503-10", "refsource": "GENTOO", "url": "https://security.gentoo.org/glsa/201503-10" }, { "name": "[oss-security] 20140330 Re: CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python", "refsource": "MLIST", "url": "http://www.openwall.com/lists/oss-security/2014/03/30/4" }, { "name": "http://bugs.python.org/issue21082", "refsource": "CONFIRM", "url": "http://bugs.python.org/issue21082" }, { "name": "[oss-security] 20140329 Re: [PSRT] CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python", "refsource": "MLIST", "url": "http://www.openwall.com/lists/oss-security/2014/03/29/5" }, { "name": "openSUSE-SU-2014:0596", "refsource": "SUSE", "url": "http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html" }, { "name": "openSUSE-SU-2020:0086", "refsource": "SUSE", "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html" } ] } } } }, "cveMetadata": { "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "assignerShortName": "mitre", "cveId": "CVE-2014-2667", "datePublished": "2014-11-16T01:00:00", "dateReserved": "2014-03-26T00:00:00", "dateUpdated": "2024-08-06T10:21:36.046Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2014-2667\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2014-11-16T01:59:01.927\",\"lastModified\":\"2024-11-21T02:06:45.090\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Race condition in the _get_masked_mode function in Lib/os.py in Python 3.2 through 3.5, when exist_ok is set to true and multiple threads are used, might allow local users to bypass intended file permissions by leveraging a separate application vulnerability before the umask has been set to the expected value.\"},{\"lang\":\"es\",\"value\":\"Condici\u00f3n de carrera en la funci\u00f3n _get_masked_mode en Lib/os.py en Python 3.2 hasta 3.5, cuando exist_ok est\u00e1 activado y se utilizan m\u00faltiples hilos, podr\u00eda permitir a usuarios locales saltarse el archivo destinado a los permisos aprovechando una vulnerabilidad de solicitud por separado antes de que umask haya sido ajustado al valor esperado.\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:L/AC:M/Au:N/C:P/I:P/A:N\",\"baseScore\":3.3,\"accessVector\":\"LOCAL\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"LOW\",\"exploitabilityScore\":3.4,\"impactScore\":4.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-362\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B511BDFA-D1DC-4E50-9A08-66DA05947A43\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0708E98D-5C84-47DC-89E5-8BB7CFFB12A7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6595C4F3-5683-4889-AD30-83840F6A58D1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"027FD902-9B08-4EDF-9F83-314FBF0583ED\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"89FB9D30-8559-4F57-9D20-DC603765B346\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"957FCB4A-32D0-4449-8995-80144CC713B4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C17A0E8D-7611-42F7-896E-F2B3BC25643D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"875ABC97-2783-41DA-AB9F-9E6F0870B74C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5262D28D-204C-41E8-BC4D-27372E366295\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"121225D0-C5DA-4F26-93B8-3D56BC1D38B1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"52DD66F7-FE7B-4C1C-B07B-F9E4CEEA7AFD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6C2C18A1-F202-4E48-8E29-F250AD1A6737\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5EE1602B-6ECB-492B-BFEB-21AF40EE4A4A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"64662850-7460-46C2-852E-E047874F9660\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.4.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6D6658A8-E57E-4743-95D5-074F990D0D1B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.4.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"F6C65BBA-4DC7-4F2F-90B1-75C6F3C68FBE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.4.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0D0DBAEE-599A-44EB-A1E4-94CEBB406CAE\"}]}]}],\"references\":[{\"url\":\"http://bugs.python.org/issue21082\",\"source\":\"cve@mitre.org\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2014/03/28/15\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2014/03/29/5\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2014/03/30/4\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://security.gentoo.org/glsa/201503-10\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://bugs.python.org/issue21082\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2014/03/28/15\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2014/03/29/5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2014/03/30/4\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://security.gentoo.org/glsa/201503-10\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.