CVE-2014-2667
low
CVSS v3
—
CVSS v2
3.3
VIR risk
3.3
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
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2014-2667
Vendor advisory: cve@mitre.org — http://bugs.python.org/issue21082
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2014-2667.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | 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
Verify integrity in audit chain (admin only). AS-IS.