3.3
CWE
362
Advisory Published
Updated

CVE-2014-2667: Race Condition

First published: Sun Nov 16 2014(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Python 2.7=3.2.0
Python 2.7=3.2.1
Python 2.7=3.2.2
Python 2.7=3.2.3
Python 2.7=3.2.4
Python 2.7=3.2.5
Python 2.7=3.2.6
Python 2.7=3.3.0
Python 2.7=3.3.1
Python 2.7=3.3.2
Python 2.7=3.3.3
Python 2.7=3.3.4
Python 2.7=3.3.5
Python 2.7=3.3.6
Python 2.7=3.4.0
Python 2.7=3.4.1
Python 2.7=3.4.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2014-2667?

    CVE-2014-2667 is categorized as a medium severity vulnerability due to the potential for local users to bypass file permissions.

  • How do I fix CVE-2014-2667?

    To fix CVE-2014-2667, you should upgrade to a patched version of Python, ideally version 3.5 or later.

  • Which versions of Python are affected by CVE-2014-2667?

    CVE-2014-2667 affects Python versions 3.2 through 3.4, including all versions in between, such as 3.2.0 to 3.4.2.

  • Can CVE-2014-2667 be exploited remotely?

    No, CVE-2014-2667 can only be exploited locally by users with access to the system.

  • What specific issue does CVE-2014-2667 address?

    CVE-2014-2667 addresses a race condition in the _get_masked_mode function that can allow users to bypass intended file permissions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203