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.
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Link | Tags |
---|---|
http://www.openwall.com/lists/oss-security/2014/03/28/15 | mailing list |
http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html | vendor advisory |
https://security.gentoo.org/glsa/201503-10 | vendor advisory |
http://www.openwall.com/lists/oss-security/2014/03/30/4 | mailing list |
http://bugs.python.org/issue21082 | vendor advisory |
http://www.openwall.com/lists/oss-security/2014/03/29/5 | mailing list |
http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html | vendor advisory |