PSF-2014-5
Dashboard / Vulnerabilities / PSF-2014-5
Summary: os.makedirs() not thread-safe
Details: 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.
References: https://bugs.python.org/issue21082
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
2.5
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
