Out-of-Bounds Affecting git/git package, versions [,1.5.6.4)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (13th 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-2371998
  • published26 Jan 2022
  • disclosed7 Aug 2008
  • creditUnknown

Introduced: 7 Aug 2008

CVE-2008-3546  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade git/git to version 1.5.6.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execute arbitrary code via a PATH whose length is larger than the system's PATH_MAX when running GIT utilities such as git-diff or git-grep.

References

CVSS Scores

version 3.1