Bug 1510455 (CVE-2017-15298) - CVE-2017-15298 git: Mishandling layers of tree objects
Summary: CVE-2017-15298 git: Mishandling layers of tree objects
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-15298
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1510457
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-07 12:55 UTC by Andrej Nemec
Modified: 2021-02-17 01:17 UTC (History)
45 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:30:29 UTC


Attachments (Terms of Use)

Description Andrej Nemec 2017-11-07 12:55:30 UTC
Git through 2.14.2 mishandles layers of tree objects, which allows remote attackers to cause a denial of service (memory consumption) via a crafted repository, aka a Git bomb. This can also have an impact of disk consumption; however, an affected process typically would not survive its attempt to build the data structure in memory before writing to disk.

External References:

https://kate.io/blog/git-bomb/

References:

https://github.com/Katee/git-bomb

Comment 1 Andrej Nemec 2017-11-07 12:56:48 UTC
Created git tracking bugs for this issue:

Affects: fedora-all [bug 1510457]

Comment 2 Todd Zullinger 2017-11-07 16:48:34 UTC
git <= 2.14.3 is vulnerable here, I believe.  The upstream commit which resolves this is https://git.kernel.org/pub/scm/git/git.git/commit/?id=a937b37e76 (merged yesterday).  I imagine we'll see some maint releases from upstream shortly.  The commit applies cleanly to 2.9.x (which f25 runs).  I didn't look any further back than that.


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