Vulnerabilities · 2014 · Python
CVE-2014-2667
Python vulnerability
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.
Affected products
Python. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.python.org/issue21082 · Vendor Advisory
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- lists.opensuse.org/opensuse-updates/2014-05/msg00007.html
- lists.opensuse.org/opensuse-updates/2014-05/msg00008.html
- www.openwall.com/lists/oss-security/2014/03/28/15
- www.openwall.com/lists/oss-security/2014/03/29/5
- www.openwall.com/lists/oss-security/2014/03/30/4
- security.gentoo.org/glsa/201503-10
- nvd.nist.gov/vuln/detail/CVE-2014-2667
- cve.org/CVERecord?id=CVE-2014-2667
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.