CVE-2014-2667
lowpriority · track · 13EPSS 0.004 · 29 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (24)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-2520Python: Schwachstelle ermöglicht Umgehen von SicherheitsvorkehrungenDeutsch2014-11-16csaf · cert_bundDE
Ein lokaler Angreifer kann eine Schwachstelle in Python ausnutzen, um Sicherheitsvorkehrungen zu umgehen.
- PSF-2014-5os.makedirs() not thread-safe2014-11-16vendor · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (18)
External citations — patches, advisories, analysis.
- http://bugs.python.org/issue21082Patchcnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.0696cnnvd
- http://bugs.python.org/issue21082enisa_euvd
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.htmlenisa_euvd
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.htmlenisa_euvd
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.htmlenisa_euvd
- http://www.openwall.com/lists/oss-security/2014/03/28/15enisa_euvd
- http://www.openwall.com/lists/oss-security/2014/03/29/5enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan