CVE-2014-2667

low
Published 2014-11-16 ยท Modified 2026-05-06
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
3.3

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
debian Debian Fixed 1 release
VersionStatusFixed in
bullseye Fixed 0

Application impact

VendorProductVersionsFixed
python pythonpython3.2.0
python pythonpython3.2.1
python pythonpython3.2.2
python pythonpython3.2.3
python pythonpython3.2.4
python pythonpython3.2.5
python pythonpython3.2.6
python pythonpython3.3.0
python pythonpython3.3.1
python pythonpython3.3.2
python pythonpython3.3.3
python pythonpython3.3.4
python pythonpython3.3.5
python pythonpython3.3.6
python pythonpython3.4.0
python pythonpython3.4.1
python pythonpython3.4.2

References

CWEs

CWE-362

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.