Bug 1596743

Summary: libgit2: arbitrary file write when recursively cloning a malicious repository (git CVE-2018-11235 variant)
Product: [Other] Security Response Reporter: Riccardo Schirone <rschiron>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bcl, i, icq, i.gnatenko.brain, veeti.paananen, walter.pete
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-03 12:09:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1596744    
Bug Blocks: 1596762    

Description Riccardo Schirone 2018-06-29 15:04:50 UTC
A flaw was found in libgit2 which allows arbitrary file write when recursively cloning a malicious repository. libgit2 can be tricked into writing files outside the .git/modules directory. This is a variant of git CVE-2018-11235.

Comment 1 Riccardo Schirone 2018-06-29 15:05:25 UTC
Created libgit2 tracking bugs for this issue:

Affects: fedora-all [bug 1596744]

Comment 2 Riccardo Schirone 2018-07-03 12:09:20 UTC
After deeper analysis with upstream help, we determined libgit2 is not vulnerable to any variant of CVE-2018-11235.
Thus I'm closing this as NOTABUG.