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…
- 3.3LowCVSS base score
- 0.36%Exploitation in 30 daysEPSS · top 70% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
- 8 months later
· 8 months later
Published
- 10 years later
· 10 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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 70% of all CVEs (10 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.
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)
- EUVD EUVD-2014-2699 (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://cveledger.app/cve/CVE-2014-2667)Record last updated .