Race Condition Affecting python package, versions [3.2.0,3.4.2]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PYTHON-2317714
  • published14 Dec 2021
  • disclosed16 Nov 2014
  • creditUnknown

Introduced: 16 Nov 2014

CVE-2014-2667  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

There is no fixed version for python.

Overview

Affected versions of this package are vulnerable to Race Condition. 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

CVSS Scores

version 3.1