Back
CVE-2014-2667
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…
Low3.3EPSS 0.36%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Low3.3 | AV:L/AC:M/Au:N/C:P/I:P/A:N |
- EPSS (exploitation in 30 days)
- 0.36% · top 71% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.3.
Weakness
Affected products
n/a
- affected n/a
References (8)
- [oss-security] 20140328 CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- openSUSE-SU-2014:0597 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- GLSA-201503-10 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [oss-security] 20140330 Re: CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://bugs.python.org/issue21082 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20140329 Re: [PSRT] CVE request: os.makedirs(exist_ok=True) is not thread-safe in Python (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- openSUSE-SU-2014:0596 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2020:0086 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2014-2667)Record last updated .