CVE-2014-2667

CVE-2014-2667 is a low-severity vulnerability in Python with a CVSS 2.0 base score of 3.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-362.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2014-2667?
CVE-2014-2667 has a CVSS 2.0 base score of 3.3, rated low severity.
Is CVE-2014-2667 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2014-2667?
CVE-2014-2667 primarily affects Python. In total, 17 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2014-2667?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2014-2667 published?
CVE-2014-2667 was published on 2014-11-16 and last updated on 2026-06-17.

References

Affected products (17)

More vulnerabilities in Python

All CVEs affecting Python →

Other CWE-362 (Race Condition) vulnerabilities

Browse all CWE-362 (Race Condition) vulnerabilities →