Out-of-bounds Write Affecting git/git package, versions [,1.7.2.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.49% (76th 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-2372007
  • published26 Jan 2022
  • disclosed11 Aug 2010
  • creditUnknown

Introduced: 11 Aug 2010

CVE-2010-2542  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade git/git to version 1.7.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. Stack-based buffer overflow in the is_git_directory function in setup.c in Git before 1.7.2.1 allows local users to gain privileges via a long gitdir: field in a .git file in a working copy.

CVSS Scores

version 3.1