fkie_cve-2014-2667
Vulnerability from fkie_nvd
Published
2014-11-16 01:59
Modified
2025-04-12 10:46
Severity ?
Summary
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.
References
Impacted products
| Vendor | Product | Version | |
|---|---|---|---|
| python | python | 3.2.0 | |
| python | python | 3.2.1 | |
| python | python | 3.2.2 | |
| python | python | 3.2.3 | |
| python | python | 3.2.4 | |
| python | python | 3.2.5 | |
| python | python | 3.2.6 | |
| python | python | 3.3.0 | |
| python | python | 3.3.1 | |
| python | python | 3.3.2 | |
| python | python | 3.3.3 | |
| python | python | 3.3.4 | |
| python | python | 3.3.5 | |
| python | python | 3.3.6 | |
| python | python | 3.4.0 | |
| python | python | 3.4.1 | |
| python | python | 3.4.2 |
{
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:*",
"matchCriteriaId": "B511BDFA-D1DC-4E50-9A08-66DA05947A43",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:*",
"matchCriteriaId": "0708E98D-5C84-47DC-89E5-8BB7CFFB12A7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:*",
"matchCriteriaId": "6595C4F3-5683-4889-AD30-83840F6A58D1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*",
"matchCriteriaId": "027FD902-9B08-4EDF-9F83-314FBF0583ED",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:*",
"matchCriteriaId": "89FB9D30-8559-4F57-9D20-DC603765B346",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:*",
"matchCriteriaId": "957FCB4A-32D0-4449-8995-80144CC713B4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:*",
"matchCriteriaId": "C17A0E8D-7611-42F7-896E-F2B3BC25643D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:*",
"matchCriteriaId": "875ABC97-2783-41DA-AB9F-9E6F0870B74C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:*",
"matchCriteriaId": "5262D28D-204C-41E8-BC4D-27372E366295",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:*",
"matchCriteriaId": "121225D0-C5DA-4F26-93B8-3D56BC1D38B1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:*",
"matchCriteriaId": "52DD66F7-FE7B-4C1C-B07B-F9E4CEEA7AFD",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.3.4:*:*:*:*:*:*:*",
"matchCriteriaId": "6C2C18A1-F202-4E48-8E29-F250AD1A6737",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.3.5:*:*:*:*:*:*:*",
"matchCriteriaId": "5EE1602B-6ECB-492B-BFEB-21AF40EE4A4A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.3.6:*:*:*:*:*:*:*",
"matchCriteriaId": "64662850-7460-46C2-852E-E047874F9660",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.4.0:*:*:*:*:*:*:*",
"matchCriteriaId": "6D6658A8-E57E-4743-95D5-074F990D0D1B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.4.1:*:*:*:*:*:*:*",
"matchCriteriaId": "F6C65BBA-4DC7-4F2F-90B1-75C6F3C68FBE",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:3.4.2:*:*:*:*:*:*:*",
"matchCriteriaId": "0D0DBAEE-599A-44EB-A1E4-94CEBB406CAE",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Condici\u00f3n de carrera en la funci\u00f3n _get_masked_mode en Lib/os.py en Python 3.2 hasta 3.5, cuando exist_ok est\u00e1 activado y se utilizan m\u00faltiples hilos, podr\u00eda permitir a usuarios locales saltarse el archivo destinado a los permisos aprovechando una vulnerabilidad de solicitud por separado antes de que umask haya sido ajustado al valor esperado."
}
],
"id": "CVE-2014-2667",
"lastModified": "2025-04-12T10:46:40.837",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "LOW",
"cvssData": {
"accessComplexity": "MEDIUM",
"accessVector": "LOCAL",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 3.3,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:L/AC:M/Au:N/C:P/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 3.4,
"impactScore": 4.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
]
},
"published": "2014-11-16T01:59:01.927",
"references": [
{
"source": "cve@mitre.org",
"tags": [
"Vendor Advisory"
],
"url": "http://bugs.python.org/issue21082"
},
{
"source": "cve@mitre.org",
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"
},
{
"source": "cve@mitre.org",
"url": "http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html"
},
{
"source": "cve@mitre.org",
"url": "http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html"
},
{
"source": "cve@mitre.org",
"url": "http://www.openwall.com/lists/oss-security/2014/03/28/15"
},
{
"source": "cve@mitre.org",
"url": "http://www.openwall.com/lists/oss-security/2014/03/29/5"
},
{
"source": "cve@mitre.org",
"url": "http://www.openwall.com/lists/oss-security/2014/03/30/4"
},
{
"source": "cve@mitre.org",
"url": "https://security.gentoo.org/glsa/201503-10"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Vendor Advisory"
],
"url": "http://bugs.python.org/issue21082"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://lists.opensuse.org/opensuse-updates/2014-05/msg00007.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.openwall.com/lists/oss-security/2014/03/28/15"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.openwall.com/lists/oss-security/2014/03/29/5"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.openwall.com/lists/oss-security/2014/03/30/4"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://security.gentoo.org/glsa/201503-10"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-362"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…