Out-of-Bounds Affecting git/git package, versions [,2.4.11)[2.5.0, 2.5.5)[2.6.0, 2.6.6)[2.7.0, 2.7.4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
11.93% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GITGIT-2372021
  • published26 Jan 2022
  • disclosed8 Apr 2016
  • creditUnknown

Introduced: 8 Apr 2016

CVE-2016-2315  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade git/git to version 2.4.11, 2.5.5, 2.6.6, 2.7.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds revision.c in git before 2.7.4 uses an incorrect integer data type, which allows remote attackers to execute arbitrary code via a (1) long filename or (2) many nested trees, leading to a heap-based buffer overflow.

CVSS Scores

version 3.1