Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2014-2667: 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…

LowCVSS 3.3 · v2.0—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 13/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.35% (FIRST EPSS).
  • Fixed version: python3 (openSUSE:Leap 15.1) 3.6.10-lp151.6.7.1; python3-base (openSUSE:Leap 15.1) 3.6.10-lp151.6.7.1; python310 (openSUSE:Tumbleweed) 3.10.0rc1-4.2.

Low priority for now. Upgrade to python3 (openSUSE:Leap 15.1) 3.6.10-lp151.6.7.1; python3-base (openSUSE:Leap 15.1) 3.6.10-lp151.6.7.1; python310 (openSUSE:Tumbleweed) 3.10.0rc1-4.2 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Nov 15, 2014
Updated
Jun 16, 2026
EPSS
0.3% · 29th percentile

Report tools

JSON

Action score

13

Monitor

Low priority for now.

CVSS
13 / 40 · 3.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2014-2667

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
pythonpython

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • python python3.2.0
  • python python3.2.1
  • python python3.2.2
  • python python3.2.3
  • python python3.2.4
  • python python3.2.5
  • python python3.2.6
  • python python3.3.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
openSUSE:Leap 15.1python3before 3.6.10-lp151.6.7.13.6.10-lp151.6.7.1
openSUSE:Leap 15.1python3-basebefore 3.6.10-lp151.6.7.13.6.10-lp151.6.7.1
openSUSE:Tumbleweedpython310before 3.10.0rc1-4.23.10.0rc1-4.2
openSUSE:Tumbleweedpython311before 3.11.0b1-1.13.11.0b1-1.1
openSUSE:Tumbleweedpython312before 3.12.0a7-1.13.12.0a7-1.1
openSUSE:Tumbleweedpython313before 3.13.0~b3-1.13.13.0~b3-1.1
openSUSE:Tumbleweedpython314before 3.14.0~a1-1.13.14.0~a1-1.1
openSUSE:Tumbleweedpython315before 3.15.0~a1-1.13.15.0~a1-1.1
openSUSE:Tumbleweedpython36before 3.6.15-1.13.6.15-1.1
openSUSE:Tumbleweedpython38before 3.8.12-1.23.8.12-1.2
openSUSE:Tumbleweedpython39before 3.9.7-2.13.9.7-2.1
SUSE:Linux Enterprise Module for Basesystem 15python3before 3.6.10-3.42.23.6.10-3.42.2
SUSE:Linux Enterprise Module for Basesystem 15python3-basebefore 3.6.10-3.42.23.6.10-3.42.2

Other highest-scoring records for the same primary product.

  • CVE-2016-5636Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2…
    47Plan
  • CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted…
    47Plan
  • CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain…
    46Plan

Published before and after this one in the same product

  • ← EarlierCVE-2013-7040May 19, 2014 · Python 2.7 before 3.4 only uses the last eight bits of the prefix to randomize hash values, which causes it to compute hash values without…
    18Monitor
  • ← EarlierCVE-2014-7185Oct 8, 2014 · Integer overflow in bufferobject.c in Python before 2.7.8 allows context-dependent attackers to obtain sensitive information from process…
    27Monitor
  • Later →CVE-2014-9365Dec 12, 2014 · The HTTP clients in the (1) httplib, (2) urllib, (3) urllib2, and (4) xmlrpclib libraries in CPython (aka Python) 2.x before 2.7.9 and 3.x…
    24Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
opensuse:python33.6.10-lp151.6.7.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python3-base3.6.10-lp151.6.7.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python3103.10.0rc1-4.2 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3113.11.0b1-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3123.12.0a7-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3133.13.0~b3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3143.14.0~a1-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3153.15.0~a1-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python363.6.15-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python383.8.12-1.2 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python393.9.7-2.1 · openSUSE:TumbleweedPackage registry (OSV)
suse:python33.6.10-3.42.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:python3-base3.6.10-3.42.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

    If successful

    Confidentiality
    P · data can be read
    Integrity
    P · data or configuration can be modified
    Availability
    none
    Attack complexity
    M
    Confidentiality impact
    P
    Integrity impact
    P
    Availability impact
    None

    CVSS vector

    AV:L/AC:M/Au:N/C:P/I:P/A:N

    nvd-primary

    Attack context

    MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

    References

    All records