# CVE-2010-2542

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2010-08-11 · Modified: 2024-08-07
- Aliases: DSA-2114-1
- Record: https://cvemate.com/vulnerability/CVE-2010-2542 · JSON: https://cvemate.com/vulnerability/CVE-2010-2542/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v2.0, NVD) AV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS: 2.507%, percentile 85.272%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian git-core (Debian): \< 1:1.5.6.5-3+lenny3.1
- git-scm git: \< 1.7.2.1

## References

- <http://secunia.com/advisories/43457>
- <https://bugzilla.redhat.com/show_bug.cgi?id=618108>
- <http://www.openwall.com/lists/oss-security/2010/07/22/4>
- <http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt>
- <http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html>
- <http://www.openwall.com/lists/oss-security/2010/07/22/1>
- <http://www.vupen.com/english/advisories/2011/0464>
- <http://www.securityfocus.com/bid/41891>
- <http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc>
- <https://nvd.nist.gov/vuln/detail/CVE-2010-2542>

---

Data as of 2026-12-05T03:11:47.452Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
