Bug 1178856

Summary: CVE-2014-9390 git: arbitrary command execution vulnerability on case-insensitive file systems [rhel-6]
Product: Red Hat Enterprise Linux 6 Reporter: Eric Rich <erich>
Component: gitAssignee: Petr Stodulka <pstodulk>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: low    
Version: 6.5CC: carnil, chrisw, cww, david, erich, jbnance, jbowes, jokajak, jrusnack, ovasik, pstodulk, security-response-team, tmz, vdanen, vonsch
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: CVE-2014-9390
: 1220552 (view as bug list) Environment:
Last Closed: 2016-08-17 18:23:16 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: 1172231, 1175960, 1254457, 1269194    
Attachments:
Description Flags
patch
none
patch2
none
test patch none

Comment 2 Eric Rich 2015-01-05 14:54:00 UTC
(In reply to Eric Rich from comment #0)
> +++ This bug was initially created as a clone of Bug #1175960 +++

This BZ is a clone of a security issues, that does not effect RHEL, however clients are requesting that the git client be updated to the include the software fix in 1.8.5.6, 1.9.5, 2.0.5, 2.1.4 or 2.2.1 to help assist with server implementations from allowing malicious files from being put into the repo.

Comment 3 Petr Stodulka 2015-01-08 10:33:44 UTC
Ok. I can add patch in future with other patches, hovewer I don't know how QA can test this.

Comment 4 Jason Bradley Nance 2015-04-29 20:55:38 UTC
While not a pretty solution, couldn't you just have QA create a vfat filesystem and mount it up for testing?

Comment 5 Petr Stodulka 2015-05-07 14:23:58 UTC
Created attachment 1023160 [details]
patch

Promised patch is here, based on upstream and debian solution - because upstream patches are only for newer versions of git (1.8.5+) and this bug it's solved on debian for git v1.7.9. I haven't tested this well, yet, but if anyone want to test this, I will be glad for feedback.

Comment 6 Petr Stodulka 2015-05-09 14:14:27 UTC
Created attachment 1023798 [details]
patch2

I forgot update patch with error, so here is right version of patch.

Comment 7 Petr Stodulka 2015-05-11 07:44:56 UTC
Created attachment 1024123 [details]
test patch

Here is added test patch, which modify+add tests for git-1.7.1 for this CVE, used by updstream. patch2 is OK according to these tests.