CVE-2014-2667 Race condition in n/a

Low 3.3 Published Updated

Local attackers can bypass file permissions via a race condition in Python's os module when using multithreading with exist_ok enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2014-2667?

CVE-2014-2667 is a low-severity vulnerability in Python Python, published on 16 Nov 2014. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-362

Which versions are affected by CVE-2014-2667?

It affects 1 product.

Products include Python Python.

How do I fix CVE-2014-2667?

Apply the vendor's patch.

Is CVE-2014-2667 being exploited?

There is no known exploitation of CVE-2014-2667 in the wild and no public exploit code.

All Python Python vulnerabilities

Sources

Also known as GHSA-gqp4-ww82-42w3, MGASA-2014-0216, PSF-2014-5.

Is CVE-2014-2667 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free