Back
CVE-2010-2542
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…
High7.5EPSS 2.5%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 2.5% · top 15% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (9)
- 43457 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=618108 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20100722 Re: CVE request: git (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SR:2011:004 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- [oss-security] 20100721 CVE request: git (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- ADV-2011-0464 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 41891 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2010-2542)Record last updated .