CVE-2017-15298: Medium severity git-scm Git vulnerability

Published Oct 14, 2017
·
Updated

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.

Affected Software

6 affected componentsFixes available
git-scm Git<=2.14.2
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
debian/git
1:2.30.2-1+deb11u21:2.30.2-1+deb11u51:2.39.5-0+deb12u31:2.39.5-0+deb12u21:2.47.3-0+deb13u11:2.51.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/git to a version that resolves this vulnerability.

    Fixed in 1:2.30.2-1+deb11u2Fixed in 1:2.30.2-1+deb11u5Fixed in 1:2.39.5-0+deb12u3Fixed in 1:2.39.5-0+deb12u2Fixed in 1:2.47.3-0+deb13u1Fixed in 1:2.51.0-1

Event History

Oct 14, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
May 2, 2020
Data Sourced
12:15 AM
Weakness
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeaknessAffected Software
Updated
12:15 AM
Affected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
Affected Software

Frequently Asked Questions

1

What is CVE-2017-15298?

CVE-2017-15298 is a vulnerability in Git through 2.14.2 that mishandles layers of tree objects, allowing remote attackers to cause a denial of service (memory consumption).

2

How does CVE-2017-15298 impact disk consumption?

CVE-2017-15298 can also impact disk consumption, although an affected process typically would not survive its attempt to build a repository.

3

What is the severity of CVE-2017-15298?

CVE-2017-15298 has a severity rating of medium with a CVSS score of 5.5.

4

How can I fix CVE-2017-15298 on Ubuntu 14.04?

To fix CVE-2017-15298 on Ubuntu 14.04, update the 'git' package to version 1:1.9.1-1ubuntu0.10.

5

How can I fix CVE-2017-15298 on Ubuntu 16.04?

To fix CVE-2017-15298 on Ubuntu 16.04, update the 'git' package to version 2.7.4-0ubuntu1.6.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203