CVE Database›Document archive›CVE-2014-2667

CVE-2014-2667

python: os.makedirs(exist_ok=True) is not thread-safe in Python 3.x

Loading…

Severity

Moderate

Red Hat Product Security

4.6

CVSS 2.0

Review impact separately from score.

Published · March 28, 2014

Updated · November 21, 2025

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.

Statement

Not vulnerable. This issue did not affect the versions of python as shipped with Red Hat Enterprise Linux 5 and 6.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 2.0 · 4.6
AV:L/AC:L/Au:N/C:P/I:P/A:P

CWE not specified