CVE-2014-2667
Summary
| CVE | CVE-2014-2667 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2014-11-16 01:59:01 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
NoneAV:L/AC:M/Au:N/C:P/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Python | Python | 3.2.0 | All | All | All |
| Application | Python | Python | 3.2.1 | All | All | All |
| Application | Python | Python | 3.2.2 | All | All | All |
| Application | Python | Python | 3.2.3 | All | All | All |
| Application | Python | Python | 3.2.4 | All | All | All |
| Application | Python | Python | 3.2.5 | All | All | All |
| Application | Python | Python | 3.2.6 | All | All | All |
| Application | Python | Python | 3.3.0 | All | All | All |
| Application | Python | Python | 3.3.1 | All | All | All |
| Application | Python | Python | 3.3.2 | All | All | All |
| Application | Python | Python | 3.3.3 | All | All | All |
| Application | Python | Python | 3.3.4 | All | All | All |
| Application | Python | Python | 3.3.5 | All | All | All |
| Application | Python | Python | 3.3.6 | All | All | All |
| Application | Python | Python | 3.4.0 | All | All | All |
| Application | Python | Python | 3.4.1 | All | All | All |
| Application | Python | Python | 3.4.2 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| oss-security - Re: [PSRT] CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| Gentoo Security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| oss-security - Re: CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| [security-announce] openSUSE-SU-2020:0086-1: important: Security update | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| openSUSE-SU-2014:0597-1: moderate: update for python3 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| oss-security - CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| openSUSE-SU-2014:0596-1: moderate: update for python3 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| Issue 21082: os.makedirs(exist_ok=True) is not thread-safe: umask is set temporary to 0, serious security problem - Python tracker | af854a3a-2127-422b-91ae-364da2661108 | bugs.python.org | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.