Bug 1063412 - (CVE-2017-15298) VUL-1: CVE-2017-15298: git: Mishandling layers of tree objects, which allows remote attackers to cause DoS a crafted repository, aka a Git bomb
(CVE-2017-15298)
VUL-1: CVE-2017-15298: git: Mishandling layers of tree objects, which allows ...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P4 - Low : Minor
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/193360/
CVSSv2:SUSE:CVE-2017-15298:2.6:(AV:N/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-16 06:26 UTC by Johannes Segitz
Modified: 2020-09-24 13:37 UTC (History)
6 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Segitz 2017-10-16 06:26:11 UTC
CVE-2017-15298

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-15298
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15298
http://www.cvedetails.com/cve/CVE-2017-15298/
https://github.com/Katee/git-bomb
https://kate.io/blog/git-bomb/
Comment 1 Andreas Stieger 2017-11-07 21:42:06 UTC
Reproducible on 2.15.0
Comment 3 Takashi Iwai 2018-04-06 15:02:42 UTC
Sigh, this was overseen again during my vacation.

The fixed package was submitted:
Leap 42.3, MR#594024
SLE12, MR#161218
SLE11-SP1, MR#161219
Comment 4 Takashi Iwai 2018-04-06 15:03:20 UTC
Reassigned back to security team.
Comment 5 Swamp Workflow Management 2018-04-06 15:40:05 UTC
This is an autogenerated message for OBS integration:
This bug (1063412) was mentioned in
https://build.opensuse.org/request/show/594024 42.3 / git
Comment 7 Swamp Workflow Management 2018-04-10 22:08:10 UTC
openSUSE-SU-2018:0914-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 1063412
CVE References: CVE-2017-15298
Sources used:
openSUSE Leap 42.3 (src):    git-2.13.6-10.1
Comment 11 Andreas Stieger 2018-05-14 11:25:38 UTC
There is no fix forthcoming from upstream, so I think we may leave it as is.
Comment 13 Takashi Iwai 2018-10-31 11:34:54 UTC
Reassigned to the new git package maintainer.
Comment 18 Markéta Machová 2019-01-17 13:24:29 UTC
(In reply to previous private comment)

I guess this bug (as it is tested here) can not be fixed because the actual checkout is huge and it will always be huge because of blobs (just imagine what would happen if you made a change in one file, how big would the diff be, it has to track every path...). The only thing which can be done (I think) is to teach git to refuse to do the checkout.
Comment 25 Swamp Workflow Management 2020-04-28 10:35:52 UTC
SUSE-SU-2020:1121-1: An update that solves 15 vulnerabilities and has 8 fixes is now available.

Category: security (moderate)
Bug References: 1063412,1095218,1095219,1110949,1112230,1114225,1132350,1149792,1156651,1158785,1158787,1158788,1158789,1158790,1158791,1158792,1158793,1158795,1167890,1168930,1169605,1169786,1169936
CVE References: CVE-2017-15298,CVE-2018-11233,CVE-2018-11235,CVE-2018-17456,CVE-2019-1348,CVE-2019-1349,CVE-2019-1350,CVE-2019-1351,CVE-2019-1352,CVE-2019-1353,CVE-2019-1354,CVE-2019-1387,CVE-2019-19604,CVE-2020-11008,CVE-2020-5260
Sources used:
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src):    git-2.26.1-3.25.2
SUSE Linux Enterprise Module for Development Tools 15-SP1 (src):    git-2.26.1-3.25.2
SUSE Linux Enterprise Module for Basesystem 15-SP1 (src):    git-2.26.1-3.25.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 26 Swamp Workflow Management 2020-05-01 22:26:51 UTC
openSUSE-SU-2020:0598-1: An update that solves 15 vulnerabilities and has 8 fixes is now available.

Category: security (moderate)
Bug References: 1063412,1095218,1095219,1110949,1112230,1114225,1132350,1149792,1156651,1158785,1158787,1158788,1158789,1158790,1158791,1158792,1158793,1158795,1167890,1168930,1169605,1169786,1169936
CVE References: CVE-2017-15298,CVE-2018-11233,CVE-2018-11235,CVE-2018-17456,CVE-2019-1348,CVE-2019-1349,CVE-2019-1350,CVE-2019-1351,CVE-2019-1352,CVE-2019-1353,CVE-2019-1354,CVE-2019-1387,CVE-2019-19604,CVE-2020-11008,CVE-2020-5260
Sources used:
openSUSE Leap 15.1 (src):    git-2.26.1-lp151.4.9.1
Comment 27 Wolfgang Frisch 2020-09-24 13:37:02 UTC
Released.