Bug 1583888 (CVE-2018-11233)

Summary: CVE-2018-11233 git: path sanity check in is_ntfs_dotgit() can read arbitrary memory
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aileenc, alazarot, amahdal, anstephe, besser82, c.david86, chazlett, chrisw, dffrench, drieden, drusso, etirelli, gvarsami, hghasemb, hhorak, ibek, jbowes, jcoleman, jmadigan, jolee, jorton, jschatte, jshepherd, jstastny, kconner, krathod, kverlaen, ldimaggi, lgriffin, lpetrovi, ngough, nwallace, paradhya, pcahyna, pstodulk, pszubiak, pwright, rrajasek, rschiron, rsynek, rwagner, rzhang, sdaley, sfowler, skisela, tcunning, tjay, tkirby, tmz, trepel, vhalbert
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: git 2.13.7, git 2.14.4, git 2.15.2, git 2.16.4, git 2.17.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-10 08:54:18 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: 1583890, 1583891, 1584241, 1593733    
Bug Blocks: 1583883    

Description Sam Fowler 2018-05-30 00:43:05 UTC
Git before versions 2.13.7, 2.14.4, 2.15.2, 2.16.4 and 2.17.1 performs path
sanity-checks in is_ntfs_dotgit():path.c that can be fooled into reading
arbitrary memory.

Upstream announcement:
https://marc.info/?l=git&m=152761328506724&w=2

Comment 1 Sam Fowler 2018-05-30 01:11:16 UTC
Created git tracking bugs for this issue:

Affects: fedora-all [bug 1583890]

Comment 7 Riccardo Schirone 2018-05-31 11:25:38 UTC
Statement:

This issue did not affect the versions of git as shipped with Red Hat Enterprise Linux 6 and 7 as they did not include the vulnerable code.

Comment 8 Fedora Update System 2018-06-01 12:04:37 UTC
git-2.17.1-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 errata-xmlrpc 2018-07-10 08:34:50 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS

Via RHSA-2018:2147 https://access.redhat.com/errata/RHSA-2018:2147