Bug 1166137 (CVE-2014-8991)

Summary: CVE-2014-8991 python-pip: local DoS vulnerability
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bkabrda, bleanhar, bressers, ccoleman, dmcphers, fschwarz, jdetiber, jialiu, jkeck, joelsmith, jokerman, jorton, jrusnack, kseifried, lmeyer, metherid, mmaslano, mmccomas, mmcgrath, mrunge, mstuchli, python-maint, smilner
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-pip 6.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-20 19:51:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1166138    

Description Vasyl Kaigorodov 2014-11-20 12:33:25 UTC
It was reported [1] that the build directory in pip is predictable, so a local DoS is possible simply by creating a /tmp/pip-build-<username>/ directory owned by
someone other than the defined user.
Upstream patch that fixes this (will be included in pip 6.0):
https://github.com/pypa/pip/pull/2122

[1]: http://seclists.org/oss-sec/2014/q4/655

Comment 1 Josh Bressers 2014-11-20 19:51:07 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 2 Tomas Hoger 2015-01-14 12:30:11 UTC
Entry from the changelog of upstream version 6.0:

Fixed #1964, #1935, #676, Use a randomized and secure default build directory when possible. (PR #2122, CVE-2014-8991)

https://pip.pypa.io/en/latest/news.html
https://github.com/pypa/pip/pull/2122
https://github.com/pypa/pip/issues/676
https://github.com/pypa/pip/issues/1935
https://github.com/pypa/pip/issues/1964