CVE-2010-2542

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGit
PublishedAug 11, 2010
First seenAug 11, 2010

How to fix

Update
  • git-scm git1.7.2.1 or later

Affected products

ProductAffected versionsFixed in
git-scm gitv < 1.7.2.11.7.2.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.