{"id":"CVE-2014-2667","state":"PUBLISHED","title":"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 bypas","description":"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.","publishedAt":"2014-11-16T01:00:00.000Z","updatedAt":"2024-08-06T10:21:36.046Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.openwall.com/lists/oss-security/2014/03/28/15","http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html","https://security.gentoo.org/glsa/201503-10","http://www.openwall.com/lists/oss-security/2014/03/30/4","http://bugs.python.org/issue21082","http://www.openwall.com/lists/oss-security/2014/03/29/5","http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html","http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:41:14.331Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2014/2xxx/CVE-2014-2667.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2014-2667","state":"PUBLISHED","datePublished":"2014-11-16T01:00:00.000Z","dateUpdated":"2024-08-06T10:21:36.046Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2014-03-26T00:00:00.000Z"},"containers":{"cna":{"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2014/03/28/15","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://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html","name":"openSUSE-SU-2014:0597","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://security.gentoo.org/glsa/201503-10","name":"GLSA-201503-10","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.openwall.com/lists/oss-security/2014/03/30/4","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://bugs.python.org/issue21082","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2014/03/29/5","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://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html","name":"openSUSE-SU-2014:0596","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","name":"openSUSE-SU-2020:0086","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-01-21T21:06:40.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2014-03-28T00:00:00.000Z","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"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2014/03/28/15","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://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html","name":"openSUSE-SU-2014:0597","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201503-10","name":"GLSA-201503-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2014/03/30/4","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://bugs.python.org/issue21082","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2014/03/29/5","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://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html","name":"openSUSE-SU-2014:0596","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","name":"openSUSE-SU-2020:0086","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T10:21:36.046Z"}}]}}}