CVE-2014-2667
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| bullseye | Fixed | 0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| python | python | 3.2.0 | |
| python | python | 3.2.1 | |
| python | python | 3.2.2 | |
| python | python | 3.2.3 | |
| python | python | 3.2.4 | |
| python | python | 3.2.5 | |
| python | python | 3.2.6 | |
| python | python | 3.3.0 | |
| python | python | 3.3.1 | |
| python | python | 3.3.2 | |
| python | python | 3.3.3 | |
| python | python | 3.3.4 | |
| python | python | 3.3.5 | |
| python | python | 3.3.6 | |
| python | python | 3.4.0 | |
| python | python | 3.4.1 | |
| python | python | 3.4.2 | |
References
- https://www.suse.com/security/cve/CVE-2014-2667.html
- http://bugs.python.org/issue21082
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html
- http://www.openwall.com/lists/oss-security/2014/03/28/15
- http://www.openwall.com/lists/oss-security/2014/03/29/5
- http://www.openwall.com/lists/oss-security/2014/03/30/4
- https://security.gentoo.org/glsa/201503-10
- https://security-tracker.debian.org/tracker/CVE-2014-2667
CWEs
CWE-362
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.