Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1082177 - (CVE-2014-2667) CVE-2014-2667 python: os.makedirs(exist_ok=True) is not thread-safe in Python 3.x
CVE-2014-2667 python: os.makedirs(exist_ok=True) is not thread-safe in Python...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20140328,repor...
: Security
Depends On: 1083594
Blocks: 1082178
  Show dependency treegraph
 
Reported: 2014-03-28 18:19 EDT by Vincent Danen
Modified: 2016-11-03 17:07 EDT (History)
22 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-03 17:07:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vincent Danen 2014-03-28 18:19:00 EDT
It was reported [1] that a patch added to Python 3.2 [2] caused a race condition where a file created could be created with world read/write permissions instead of the permissions dictated by the original umask of the process.  This could allow a local attacker that could win the race to view and edit files created by a program using this call.

Note that prior versions of Python, including 2.x, do not include the vulnerable _get_masked_mode() function that is used by os.makedirs() when exist_ok is set to True.


[1] http://bugs.python.org/issue21082
[2] http://bugs.python.org/issue9299
Comment 1 Vincent Danen 2014-03-28 18:25:59 EDT
CVE request:

http://openwall.com/lists/oss-security/2014/03/28/15
Comment 2 Vincent Danen 2014-03-28 18:26:33 EDT
Statement:

Not vulnerable. This issue did not affect the versions of python as shipped with Red Hat Enterprise Linux 5 and 6.
Comment 3 Murray McAllister 2014-03-31 02:08:08 EDT
MITRE assigned CVE-2014-2667 to this issue:

http://seclists.org/oss-sec/2014/q1/700
Comment 4 Stefan Cornelius 2014-04-02 10:15:48 EDT
Created python3 tracking bugs for this issue:

Affects: fedora-all [bug 1083594]
Comment 6 Fedora Update System 2014-12-11 23:23:28 EST
python3-3.3.2-19.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2015-01-06 01:16:35 EST
python3-3.3.2-11.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.