3.3
LOW CVSS 2.0
CVE-2014-2667
Python OS Race Condition Permission Bypass
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.

INFO

Published Date :

Nov. 16, 2014, 1:59 a.m.

Last Modified :

April 12, 2025, 10:46 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2014-2667 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python python
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 LOW [email protected]
Solution
This vulnerability in Python allows for a race condition that could lead to a file permission bypass.
  • Update the affected Python packages to a version that addresses this vulnerability.
  • For SUSE Linux, apply the appropriate patch using YaST or zypper.
Public PoC/Exploit Available at Github

CVE-2014-2667 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2014-2667 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2014-2667 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Fork of the clairCtl utility

Go HTML Shell

Updated: 5 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : Oct. 2, 2019, 7:32 p.m. This repo has been linked 5 different CVEs too.

None

Go HTML Shell

Updated: 7 years, 2 months ago
0 stars 0 fork 0 watcher
Born at : June 23, 2018, 8:24 a.m. This repo has been linked 5 different CVEs too.

Tracking container vulnerabilities with Clair Control for CoreOS Clair

Go HTML Shell

Updated: 5 months, 3 weeks ago
229 stars 78 fork 78 watcher
Born at : Oct. 26, 2016, 6:25 a.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2014-2667 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2014-2667 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://bugs.python.org/issue21082
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
    Added Reference http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html
    Added Reference http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html
    Added Reference http://www.openwall.com/lists/oss-security/2014/03/28/15
    Added Reference http://www.openwall.com/lists/oss-security/2014/03/29/5
    Added Reference http://www.openwall.com/lists/oss-security/2014/03/30/4
    Added Reference https://security.gentoo.org/glsa/201503-10
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jan. 21, 2020

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 01, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201503-10 [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 17, 2014

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.6:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.4.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.4.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.4.2:*:*:*:*:*:*:*
    Added CVSS V2 (AV:L/AC:M/Au:N/C:P/I:P/A:N)
    Changed Reference Type http://bugs.python.org/issue21082 No Types Assigned http://bugs.python.org/issue21082 Advisory
    Added CWE CWE-362
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 3.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.05 }} -0.02%

score

0.10817

percentile