CVE-2014-2667
Race condition in the _get_masked_mode function in Lib/os.py in Python 3.2 through 3.5, when...
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.
Exploit likelihood
What each source reports
NVD Score used
3.3
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.
- Record
CVE-2014-2667- CVSS 2.0
- 3.3 Low
AV:L/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-362
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2014-2667- Updated
- 2026-11-02
EUVDEUVD-2014-2699 No score
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.
- Record
EUVD-2014-2699- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gqp4-ww82-42w3 No score
Race condition in the _get_masked_mode function in Lib/os.py in Python 3.2 through 3.5, when...
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.
- Record
GHSA-gqp4-ww82-42w3- Weakness
- CWE-362
- Updated
- 2026-11-02
OSVMGASA-2014-0216 No score
Updated python3 packages fix security vulnerability
It was reported that a patch added to Python 3.2 caused a race condition where a file created could be created with world read/write permissions instead of the permissions dictated by the original umask of the process. This could allow a local attacker that could win the race to view and edit files created by a program using this call. Note that prior versions of Python, including 2.x, do not include the vulnerable _get_masked_mode() function that is used by os.makedirs() when exist_ok is set to True (CVE-2014-2667).
- Record
MGASA-2014-0216- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0086-1 No score
Security update for python3
This update for python3 to version 3.6.10 fixes the following issues:
- CVE-2017-18207: Fixed a denial of service in Wave_read._read_fmt_chunk() (bsc#1083507).
- CVE-2019-16056: Fixed an issue where email parsing could fail for multiple @ (bsc#1149955).
- CVE-2019-15903: Fixed a heap-based buffer over-read in libexpat (bsc#1149429).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:0086-1- Updated
- 2026-11-02
Show 14 moreShow less
OSVopenSUSE-SU-2024:10426-1 No score
libpython3_5m1_0-3.5.1-3.6 on GA media
These are all security issues fixed in the libpython3_5m1_0-3.5.1-3.6 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10426-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11283-1 No score
python310-3.10.0rc1-4.2 on GA media
These are all security issues fixed in the python310-3.10.0rc1-4.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11283-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11284-1 No score
python36-3.6.15-1.1 on GA media
These are all security issues fixed in the python36-3.6.15-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11284-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11285-1 No score
python38-3.8.12-1.2 on GA media
These are all security issues fixed in the python38-3.8.12-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11285-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11286-1 No score
python39-3.9.7-2.1 on GA media
These are all security issues fixed in the python39-3.9.7-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11286-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12089-1 No score
python311-3.11.0b1-1.1 on GA media
These are all security issues fixed in the python311-3.11.0b1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12089-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12910-1 No score
python312-3.12.0a7-1.1 on GA media
These are all security issues fixed in the python312-3.12.0a7-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12910-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14109-1 No score
python313-3.13.0~b3-1.1 on GA media
These are all security issues fixed in the python313-3.13.0~b3-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14109-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14434-1 No score
python314-3.14.0~a1-1.1 on GA media
These are all security issues fixed in the python314-3.14.0~a1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14434-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15713-1 No score
python315-3.15.0~a1-1.1 on GA media
These are all security issues fixed in the python315-3.15.0~a1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15713-1- Updated
- 2026-11-02
OSVPSF-2014-5 No score
os.makedirs() not thread-safe
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.
- Record
PSF-2014-5- Updated
- 2026-11-02
OSVSUSE-FU-2022:0444-1 No score
Feature update for venv-salt-minion
This feature update for venv-salt-minion provides the following changes:
- Introduce
venv-salt-minion. - Track already fixed issues.
- Record
SUSE-FU-2022:0444-1- Updated
- 2026-11-02
OSVSUSE-FU-2022:0445-1 No score
Feature update for venv-salt-minion
This feature update for venv-salt-minion provides the following changes:
- Introduce
venv-salt-minion. - Mention fixed issues provided with the bundle.
- Record
SUSE-FU-2022:0445-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:0114-1 No score
Security update for python3
This update for python3 to version 3.6.10 fixes the following issues:
- CVE-2017-18207: Fixed a denial of service in Wave_read._read_fmt_chunk() (bsc#1083507).
- CVE-2019-16056: Fixed an issue where email parsing could fail for multiple @ (bsc#1149955).
- CVE-2019-15903: Fixed a heap-based buffer over-read in libexpat (bsc#1149429).
- Record
SUSE-SU-2020:0114-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
python3Mageia:3 |
before 3.3.0-4.8.mga3 | 3.3.0-4.8.mga3 |
python3Mageia:4 |
before 3.3.2-13.3.mga4 | 3.3.2-13.3.mga4 |
python3SUSE:Linux Enterprise Module for Basesystem 15 From an advisory covering 26 CVEs |
before 3.6.10-3.42.2 | 3.6.10-3.42.2 |
python3-baseSUSE:Linux Enterprise Module for Basesystem 15 From an advisory covering 26 CVEs |
before 3.6.10-3.42.2 | 3.6.10-3.42.2 |
python3SUSE:Linux Enterprise Module for Basesystem 15 SP1 From an advisory covering 26 CVEs |
before 3.6.10-3.42.2 | 3.6.10-3.42.2 |
python3-baseSUSE:Linux Enterprise Module for Basesystem 15 SP1 From an advisory covering 26 CVEs |
before 3.6.10-3.42.2 | 3.6.10-3.42.2 |
python3-baseSUSE:Linux Enterprise Module for Development Tools 15 From an advisory covering 26 CVEs |
before 3.6.10-3.42.2 | 3.6.10-3.42.2 |
python3-baseSUSE:Linux Enterprise Module for Development Tools 15 SP1 From an advisory covering 26 CVEs |
before 3.6.10-3.42.2 | 3.6.10-3.42.2 |
python3openSUSE:Leap 15.1 From an advisory covering 26 CVEs |
before 3.6.10-lp151.6.7.1 | 3.6.10-lp151.6.7.1 |
python3-baseopenSUSE:Leap 15.1 From an advisory covering 26 CVEs |
before 3.6.10-lp151.6.7.1 | 3.6.10-lp151.6.7.1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
python310openSUSE:Tumbleweed From an advisory covering 17 CVEs |
before 3.10.0rc1-4.2 | 3.10.0rc1-4.2 |
python36openSUSE:Tumbleweed From an advisory covering 39 CVEs |
before 3.6.15-1.1 | 3.6.15-1.1 |
python38openSUSE:Tumbleweed From an advisory covering 18 CVEs |
before 3.8.12-1.2 | 3.8.12-1.2 |
python39openSUSE:Tumbleweed From an advisory covering 20 CVEs |
before 3.9.7-2.1 | 3.9.7-2.1 |
python311openSUSE:Tumbleweed From an advisory covering 17 CVEs |
before 3.11.0b1-1.1 | 3.11.0b1-1.1 |
python312openSUSE:Tumbleweed From an advisory covering 21 CVEs |
before 3.12.0a7-1.1 | 3.12.0a7-1.1 |
python313openSUSE:Tumbleweed From an advisory covering 28 CVEs |
before 3.13.0~b3-1.1 | 3.13.0~b3-1.1 |
python314openSUSE:Tumbleweed From an advisory covering 33 CVEs |
before 3.14.0~a1-1.1 | 3.14.0~a1-1.1 |
python315openSUSE:Tumbleweed From an advisory covering 39 CVEs |
before 3.15.0~a1-1.1 | 3.15.0~a1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2014-2667 is a low vulnerability (CVSS 3.3) in Python, published May 14, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.36%, the 29th percentile. Fixed in python3 3.3.0-4.8.mga3.
References
openwall.com/lists/oss-security/2014/03/28/15
lists.opensuse.org/opensuse-updates/2014-05/msg00008.html
security.gentoo.org/glsa/201503-10
openwall.com/lists/oss-security/2014/03/30/4
bugs.python.org/issue21082
openwall.com/lists/oss-security/2014/03/29/5
Show 194 moreShow less
lists.opensuse.org/opensuse-updates/2014-05/msg00007.html
lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
nvd.nist.gov/vuln/detail/CVE-2014-2667
github.com/advisories/GHSA-gqp4-ww82-42w3
advisories.mageia.org/MGASA-2014-0216.html
bugs.mageia.org/show_bug.cgi?id=13305
suse.com/support/update/announcement/-2022-444/suse-fu-20220444-1
bugzilla.suse.com/1000080
bugzilla.suse.com/1000117
bugzilla.suse.com/1000194
bugzilla.suse.com/1000742
bugzilla.suse.com/1002895
bugzilla.suse.com/1003091
bugzilla.suse.com/1005246
bugzilla.suse.com/1010874
bugzilla.suse.com/1010966
bugzilla.suse.com/1011936
bugzilla.suse.com/1015549
bugzilla.suse.com/1027610
bugzilla.suse.com/1027705
bugzilla.suse.com/1029902
bugzilla.suse.com/1030038
bugzilla.suse.com/1032118
bugzilla.suse.com/1032119
bugzilla.suse.com/1035604
bugzilla.suse.com/1039469
bugzilla.suse.com/1040164
bugzilla.suse.com/1040256
bugzilla.suse.com/1041090
bugzilla.suse.com/1042670
bugzilla.suse.com/1049186
bugzilla.suse.com/1049304
bugzilla.suse.com/1050653
bugzilla.suse.com/1050665
bugzilla.suse.com/1055478
bugzilla.suse.com/1055542
bugzilla.suse.com/1056951
bugzilla.suse.com/1057496
bugzilla.suse.com/1062237
bugzilla.suse.com/1066873
bugzilla.suse.com/1068790
bugzilla.suse.com/1070737
bugzilla.suse.com/1070738
bugzilla.suse.com/1070853
bugzilla.suse.com/1071941
bugzilla.suse.com/1073310
bugzilla.suse.com/1073845
bugzilla.suse.com/1073879
bugzilla.suse.com/1074247
bugzilla.suse.com/1076519
bugzilla.suse.com/1077096
bugzilla.suse.com/1077230
bugzilla.suse.com/1078329
bugzilla.suse.com/1079761
bugzilla.suse.com/1080301
bugzilla.suse.com/1081005
bugzilla.suse.com/1081750
bugzilla.suse.com/1081751
bugzilla.suse.com/1082155
bugzilla.suse.com/1082163
bugzilla.suse.com/1082318
bugzilla.suse.com/1083826
bugzilla.suse.com/1084117
bugzilla.suse.com/1084157
bugzilla.suse.com/1085276
bugzilla.suse.com/1085529
bugzilla.suse.com/1085661
bugzilla.suse.com/1087104
bugzilla.suse.com/1088573
bugzilla.suse.com/1090427
bugzilla.suse.com/1090953
bugzilla.suse.com/1093518
bugzilla.suse.com/1093917
bugzilla.suse.com/1094788
bugzilla.suse.com/1094814
bugzilla.suse.com/1094883
bugzilla.suse.com/1095267
bugzilla.suse.com/1096738
bugzilla.suse.com/1096937
bugzilla.suse.com/1097531
bugzilla.suse.com/1098535
bugzilla.suse.com/1099308
bugzilla.suse.com/1099569
bugzilla.suse.com/1102868
bugzilla.suse.com/1108508
bugzilla.suse.com/1109882
bugzilla.suse.com/1109998
bugzilla.suse.com/1110435
bugzilla.suse.com/1110869
bugzilla.suse.com/1110871
bugzilla.suse.com/1111493
bugzilla.suse.com/1111622
bugzilla.suse.com/1111657
bugzilla.suse.com/1112357
bugzilla.suse.com/1115769
bugzilla.suse.com/1118611
bugzilla.suse.com/1119376
bugzilla.suse.com/1119416
bugzilla.suse.com/1119792
bugzilla.suse.com/1121717
suse.com/security/cve/CVE-2011-3389
suse.com/security/cve/CVE-2011-4944
suse.com/security/cve/CVE-2012-0845
suse.com/security/cve/CVE-2012-1150
suse.com/security/cve/CVE-2013-1752
suse.com/security/cve/CVE-2013-4238
suse.com/security/cve/CVE-2013-4314
suse.com/security/cve/CVE-2014-0012
suse.com/security/cve/CVE-2014-1829
suse.com/security/cve/CVE-2014-1830
suse.com/security/cve/CVE-2014-2667
suse.com/security/cve/CVE-2014-4650
suse.com/security/cve/CVE-2014-7202
suse.com/security/cve/CVE-2014-7203
suse.com/security/cve/CVE-2014-9721
suse.com/security/cve/CVE-2015-2296
suse.com/security/cve/CVE-2016-10745
suse.com/security/cve/CVE-2016-9015
suse.com/security/cve/CVE-2017-18342
suse.com/security/cve/CVE-2018-18074
suse.com/security/cve/CVE-2018-20060
suse.com/security/cve/CVE-2018-7750
suse.com/security/cve/CVE-2019-10906
suse.com/security/cve/CVE-2019-11236
suse.com/security/cve/CVE-2019-11324
suse.com/security/cve/CVE-2019-13132
suse.com/security/cve/CVE-2019-20907
suse.com/security/cve/CVE-2019-20916
suse.com/security/cve/CVE-2019-5010
suse.com/security/cve/CVE-2019-6250
suse.com/security/cve/CVE-2019-8341
suse.com/security/cve/CVE-2019-9740
suse.com/security/cve/CVE-2019-9947
suse.com/security/cve/CVE-2020-14343
suse.com/security/cve/CVE-2020-15166
suse.com/security/cve/CVE-2020-15523
suse.com/security/cve/CVE-2020-15801
suse.com/security/cve/CVE-2020-1747
suse.com/security/cve/CVE-2020-25659
suse.com/security/cve/CVE-2020-26137
suse.com/security/cve/CVE-2020-27783
suse.com/security/cve/CVE-2020-28493
suse.com/security/cve/CVE-2020-29651
suse.com/security/cve/CVE-2020-36242
suse.com/security/cve/CVE-2020-8492
suse.com/security/cve/CVE-2021-23336
suse.com/security/cve/CVE-2021-28957
suse.com/security/cve/CVE-2021-29921
suse.com/security/cve/CVE-2021-3177
suse.com/security/cve/CVE-2021-33503
suse.com/security/cve/CVE-2021-3426
suse.com/support/update/announcement/-2022-445/suse-fu-20220445-1
suse.com/security/cve/CVE-2006-2937
suse.com/security/cve/CVE-2006-2940
suse.com/security/cve/CVE-2006-3738
suse.com/security/cve/CVE-2006-4339
suse.com/security/cve/CVE-2006-4343
suse.com/security/cve/CVE-2006-7250
suse.com/security/cve/CVE-2007-3108
suse.com/security/cve/CVE-2007-4995
suse.com/security/cve/CVE-2007-5135
suse.com/security/cve/CVE-2008-0891
suse.com/security/cve/CVE-2008-1672
suse.com/security/cve/CVE-2008-5077
suse.com/security/cve/CVE-2009-0590
suse.com/security/cve/CVE-2009-0591
suse.com/security/cve/CVE-2009-0789
suse.com/security/cve/CVE-2009-1377
suse.com/security/cve/CVE-2009-1378
suse.com/security/cve/CVE-2009-1379
suse.com/security/cve/CVE-2009-1386
suse.com/security/cve/CVE-2009-1387
suse.com/security/cve/CVE-2010-0740
suse.com/security/cve/CVE-2010-0742
suse.com/security/cve/CVE-2010-1633
suse.com/security/cve/CVE-2010-2939
suse.com/security/cve/CVE-2010-3864
suse.com/security/cve/CVE-2010-5298
suse.com/security/cve/CVE-2011-0014
suse.com/security/cve/CVE-2011-3207
suse.com/security/cve/CVE-2011-3210
suse.com/security/cve/CVE-2011-4108
suse.com/security/cve/CVE-2011-4576
suse.com/security/cve/CVE-2011-4577
suse.com/security/cve/CVE-2011-4619
suse.com/security/cve/CVE-2012-0027
suse.com/security/cve/CVE-2012-0050
suse.com/security/cve/CVE-2012-0884
suse.com/security/cve/CVE-2012-1165
suse.com/security/cve/CVE-2012-2110
suse.com/security/cve/CVE-2012-2686
suse.com/security/cve/CVE-2012-4929
suse.com/security/cve/CVE-2013-0166
lists.opensuse.org/archives/list/[email protected]/thread/SRKGGFVSV7DDWCMAOSO6E3F66U2CF5XR
Left out here: 555 references. The JSON record has them.