CONTENTUM.COMA specialist. A plan. A result.

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

More vulnerabilities in Python products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.