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.
Remediation
References
Related Vulnerabilities
Oracle Application Server Other Vulnerability (CVE-2007-2123)
PHP Improper Input Validation Vulnerability (CVE-2012-4388)
WordPress Plugin Sagenda-Free booking system PHP Object Injection (1.3.2)
MySQL Other Vulnerability (CVE-2005-0799)
WordPress Plugin Redux Framework Cross-Site Scripting (4.4.17)