Vulnerability in Python

CVE-2014-2667

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.

Vulnerability class: Race Condition

EPSS: 0.004 (28.2th percentile) — read the EPSS interpretation.

Affected products

  • Python — versions 3.2.0, 3.2.1, 3.2.2
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2014-2667?
CVE-2014-2667 is a vulnerability in Python, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). Published 2014-11-16.
Is CVE-2014-2667 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.