Every CVE Search/ Get API key

CVE-2017-15298

Git through 2.14.2 mishandles layers of tree objects, which allows remote attackers to cause a...

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.64%Unchanged since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2017-15298
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-400
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-15298
Updated
2026-11-02
EUVDEUVD-2017-6754 No score

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.

Record
EUVD-2017-6754
Updated
2026-11-03
GitHub AdvisoriesGHSA-h4pp-whcf-mhp8 5.5

Git through 2.14.2 mishandles layers of tree objects, which allows remote attackers to cause a...

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.

Record
GHSA-h4pp-whcf-mhp8
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
OSV 5.5

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.

Record
CVE-2017-15298
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-15298 5.5

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.

Record
DEBIAN-CVE-2017-15298
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2017-15298 5.5

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.

Record
UBUNTU-CVE-2017-15298
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2017-0440 No score

Updated git packages fix security vulnerability

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 (CVE-2017-15298).

Record
MGASA-2017-0440
Updated
2026-11-02
OSVopenSUSE-SU-2020:0598-1 No score

Security update for git

This update for git fixes the following issues:

Security issues fixed:

  • CVE-2020-11008: Specially crafted URLs may have tricked the credentials helper to providing credential information that is not appropriate for the protocol in use and host being contacted (bsc#1169936)

git was updated to 2.26.1 (bsc#1169786, jsc#ECO-1628, bsc#1149792)

  • Fix git-daemon not starting after conversion from sysvinit to systemd service (bsc#1169605).
  • CVE-2020-5260: Specially crafted URLs with newline characters could have been used to make the Git client to send credential information for a wrong host to the attacker's site bsc#1168930

git 2.26.0 (bsc#1167890, jsc#SLE-11608):

  • 'git rebase' now uses a different backend that is based on the 'merge' machinery by default. The 'rebase.backend' configuration variable reverts to old behaviour when set to 'apply'
  • Improved handling of sparse checkouts
  • Improvements to many commands and internal features

git 2.25.2:

  • bug fixes to various subcommands in specific operations

git 2.25.1:

  • 'git commit' now honors advise.statusHints
  • various updates, bug fixes and documentation updates

git 2.25.0

  • The branch description ('git branch --edit-description') has been used to fill the body of the cover letters by the format-patch command; this has been enhanced so that the subject can also be filled.
  • A few commands learned to take the pathspec from the standard input or a named file, instead of taking it as the command line arguments, with the '--pathspec-from-file' option.
  • Test updates to prepare for SHA-2 transition continues.
  • Redo 'git name-rev' to avoid recursive calls.
  • When all files from some subdirectory were renamed to the root directory, the directory rename heuristics would fail to detect that as a rename/merge of the subdirectory to the root directory, which has been corrected.
  • HTTP transport had possible allocator/deallocator mismatch, which has been corrected.

git 2.24.1:

  • CVE-2019-1348: The --export-marks option of fast-import is exposed also via the in-stream command feature export-marks=... and it allows overwriting arbitrary paths (bsc#1158785)
  • CVE-2019-1349: on Windows, when submodules are cloned recursively, under certain circumstances Git could be fooled into using the same Git directory twice (bsc#1158787)
  • CVE-2019-1350: Incorrect quoting of command-line arguments allowed remote code execution during a recursive clone in conjunction with SSH URLs (bsc#1158788)
  • CVE-2019-1351: on Windows mistakes drive letters outside of the US-English alphabet as relative paths (bsc#1158789)
  • CVE-2019-1352: on Windows was unaware of NTFS Alternate Data Streams (bsc#1158790)
  • CVE-2019-1353: when run in the Windows Subsystem for Linux while accessing a working directory on a regular Windows drive, none of the NTFS protections were active (bsc#1158791)
  • CVE-2019-1354: on Windows refuses to write tracked files with filenames that contain backslashes (bsc#1158792)
  • CVE-2019-1387: Recursive clones vulnerability that is caused by too-lax validation of submodule names, allowing very targeted attacks via remote code execution in recursive clones (bsc#1158793)
  • CVE-2019-19604: a recursive clone followed by a submodule update could execute code contained within the repository without the user explicitly having asked for that (bsc#1158795)

git 2.24.0

  • The command line parser learned '--end-of-options' notation.
  • A mechanism to affect the default setting for a (related) group of configuration variables is introduced.
  • 'git fetch' learned '--set-upstream' option to help those who first clone from their private fork they intend to push to, add the true upstream via 'git remote add' and then 'git fetch' from it.
  • fixes and improvements to UI, workflow and features, bash completion fixes

git 2.23.0:

  • The '--base' option of 'format-patch' computed the patch-ids for prerequisite patches in an unstable…
Record
openSUSE-SU-2020:0598-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10786-1 No score

git-2.33.0-1.3 on GA media

These are all security issues fixed in the git-2.33.0-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10786-1
Updated
2026-11-02
OSVSUSE-SU-2020:1121-1 No score

Security update for git

This update for git fixes the following issues:

Security issues fixed:

  • CVE-2020-11008: Specially crafted URLs may have tricked the credentials helper to providing credential information that is not appropriate for the protocol in use and host being contacted (bsc#1169936)

git was updated to 2.26.1 (bsc#1169786, jsc#ECO-1628, bsc#1149792)

  • Fix git-daemon not starting after conversion from sysvinit to systemd service (bsc#1169605).
  • CVE-2020-5260: Specially crafted URLs with newline characters could have been used to make the Git client to send credential information for a wrong host to the attacker's site bsc#1168930

git 2.26.0 (bsc#1167890, jsc#SLE-11608):

  • 'git rebase' now uses a different backend that is based on the 'merge' machinery by default. The 'rebase.backend' configuration variable reverts to old behaviour when set to 'apply'
  • Improved handling of sparse checkouts
  • Improvements to many commands and internal features

git 2.25.2:

  • bug fixes to various subcommands in specific operations

git 2.25.1:

  • 'git commit' now honors advise.statusHints
  • various updates, bug fixes and documentation updates

git 2.25.0

  • The branch description ('git branch --edit-description') has been used to fill the body of the cover letters by the format-patch command; this has been enhanced so that the subject can also be filled.
  • A few commands learned to take the pathspec from the standard input or a named file, instead of taking it as the command line arguments, with the '--pathspec-from-file' option.
  • Test updates to prepare for SHA-2 transition continues.
  • Redo 'git name-rev' to avoid recursive calls.
  • When all files from some subdirectory were renamed to the root directory, the directory rename heuristics would fail to detect that as a rename/merge of the subdirectory to the root directory, which has been corrected.
  • HTTP transport had possible allocator/deallocator mismatch, which has been corrected.

git 2.24.1:

  • CVE-2019-1348: The --export-marks option of fast-import is exposed also via the in-stream command feature export-marks=... and it allows overwriting arbitrary paths (bsc#1158785)
  • CVE-2019-1349: on Windows, when submodules are cloned recursively, under certain circumstances Git could be fooled into using the same Git directory twice (bsc#1158787)
  • CVE-2019-1350: Incorrect quoting of command-line arguments allowed remote code execution during a recursive clone in conjunction with SSH URLs (bsc#1158788)
  • CVE-2019-1351: on Windows mistakes drive letters outside of the US-English alphabet as relative paths (bsc#1158789)
  • CVE-2019-1352: on Windows was unaware of NTFS Alternate Data Streams (bsc#1158790)
  • CVE-2019-1353: when run in the Windows Subsystem for Linux while accessing a working directory on a regular Windows drive, none of the NTFS protections were active (bsc#1158791)
  • CVE-2019-1354: on Windows refuses to write tracked files with filenames that contain backslashes (bsc#1158792)
  • CVE-2019-1387: Recursive clones vulnerability that is caused by too-lax validation of submodule names, allowing very targeted attacks via remote code execution in recursive clones (bsc#1158793)
  • CVE-2019-19604: a recursive clone followed by a submodule update could execute code contained within the repository without the user explicitly having asked for that (bsc#1158795)

git 2.24.0

  • The command line parser learned '--end-of-options' notation.
  • A mechanism to affect the default setting for a (related) group of configuration variables is introduced.
  • 'git fetch' learned '--set-upstream' option to help those who first clone from their private fork they intend to push to, add the true upstream via 'git remote add' and then 'git fetch' from it.
  • fixes and improvements to UI, workflow and features, bash completion fixes

git 2.23.0:

  • The '--base' option of 'format-patch' computed the patch-ids for prerequisite patches in an unstable…
Record
SUSE-SU-2020:1121-1
Updated
2026-11-02
OSVUSN-3829-1 No score

git vulnerabilities

It was discovered that Git incorrectly handled layers of tree objects. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2017-15298)

It was discovered that Git incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2018-19486)

Record
USN-3829-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
git
Debian:12
before 1:2.16.1-1
1:2.16.1-1
git
Debian:13
before 1:2.16.1-1
1:2.16.1-1
git
Debian:14
before 1:2.16.1-1
1:2.16.1-1
git
Mageia:5
before 2.7.6-1.1.mga5
2.7.6-1.1.mga5
git
Mageia:6
before 2.13.6-1.1.mga6
2.13.6-1.1.mga6
git
SUSE:Linux Enterprise Module for Basesystem 15 SP1
From an advisory covering 15 CVEs
before 2.26.1-3.25.2
2.26.1-3.25.2
git
SUSE:Linux Enterprise Module for Development Tools 15 SP1
From an advisory covering 15 CVEs
before 2.26.1-3.25.2
2.26.1-3.25.2
git
Ubuntu:14.04:LTS
before 1:1.9.1-1ubuntu0.10, plus listed versions
1:1.8.3.2-11:1.8.4.2-11:1.8.4.3-11:1.8.4.4-11:1.8.5-1
Show 16 moreShow less
1:1.8.5.1-11:1.8.5.2-11:1.8.5.2-21:1.8.5.3-11:1.9~rc1-11:1.9.0-11:1.9.1-11:1.9.1-1ubuntu0.11:1.9.1-1ubuntu0.21:1.9.1-1ubuntu0.31:1.9.1-1ubuntu0.41:1.9.1-1ubuntu0.51:1.9.1-1ubuntu0.61:1.9.1-1ubuntu0.71:1.9.1-1ubuntu0.81:1.9.1-1ubuntu0.9
1:1.9.1-1ubuntu0.10
git
Ubuntu:16.04:LTS
before 1:2.7.4-0ubuntu1.6, plus listed versions
1:2.5.0-11:2.6.2-11:2.6.3-11:2.6.4-11:2.7.0~rc3-1
Show 8 moreShow less
1:2.7.0-11:2.7.3-0ubuntu11:2.7.4-0ubuntu11:2.7.4-0ubuntu1.11:2.7.4-0ubuntu1.21:2.7.4-0ubuntu1.31:2.7.4-0ubuntu1.41:2.7.4-0ubuntu1.5
1:2.7.4-0ubuntu1.6
git
Ubuntu:14.04:LTS
From an advisory covering 2 CVEs
before 1:1.9.1-1ubuntu0.10, plus listed versions
1:1.8.3.2-11:1.8.4.2-11:1.8.4.3-11:1.8.4.4-11:1.8.5-1
Show 16 moreShow less
1:1.8.5.1-11:1.8.5.2-11:1.8.5.2-21:1.8.5.3-11:1.9~rc1-11:1.9.0-11:1.9.1-11:1.9.1-1ubuntu0.11:1.9.1-1ubuntu0.21:1.9.1-1ubuntu0.31:1.9.1-1ubuntu0.41:1.9.1-1ubuntu0.51:1.9.1-1ubuntu0.61:1.9.1-1ubuntu0.71:1.9.1-1ubuntu0.81:1.9.1-1ubuntu0.9
1:1.9.1-1ubuntu0.10
Show 4 moreShow less
Affected packages
PackageAffectedFixed
git
Ubuntu:16.04:LTS
From an advisory covering 2 CVEs
before 1:2.7.4-0ubuntu1.6, plus listed versions
1:2.5.0-11:2.6.2-11:2.6.3-11:2.6.4-11:2.7.0~rc3-1
Show 8 moreShow less
1:2.7.0-11:2.7.3-0ubuntu11:2.7.4-0ubuntu11:2.7.4-0ubuntu1.11:2.7.4-0ubuntu1.21:2.7.4-0ubuntu1.31:2.7.4-0ubuntu1.41:2.7.4-0ubuntu1.5
1:2.7.4-0ubuntu1.6
git
Ubuntu:18.04:LTS
From an advisory covering 2 CVEs
before 1:2.17.1-1ubuntu0.4, plus listed versions
1:2.14.1-1ubuntu41:2.15.1-1ubuntu21:2.17.0-1ubuntu11:2.17.1-1ubuntu0.11:2.17.1-1ubuntu0.3
1:2.17.1-1ubuntu0.4
git
openSUSE:Leap 15.1
From an advisory covering 15 CVEs
before 2.26.1-lp151.4.9.1
2.26.1-lp151.4.9.1
git
openSUSE:Tumbleweed
From an advisory covering 21 CVEs
before 2.33.0-1.3
2.33.0-1.3

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-15298 is a medium vulnerability (CVSS 5.5) in Git-scm Git, published October 14, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.64%, the 76th percentile. Fixed in git 1:2.16.1-1.

References

Show 55 moreShow less
This page doesn't list everything

Left out here: the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open