Unscored severity · published Aug 11, 2010
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 long gitdir: field in a .git file in a…
–
CVSS
2.5%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)2.5% · higher than 85% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GI
Git · Git-scm
before 1.7.2.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-2542
CVE.org
https://www.cve.org/CVERecord?id=CVE-2010-2542
git.kernel.org
http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc
Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html
Third Party Advisory
http://secunia.com/advisories/43457
Broken Link
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt
Mailing List
http://www.openwall.com/lists/oss-security/2010/07/22/1
Mailing List
http://www.openwall.com/lists/oss-security/2010/07/22/4
More from Git
8.0
CVE-2025-48384
Git allows arbitrary code execution through broken config quoting
9.8
CVE-2022-41903
Git is distributed revision control system
9.8
CVE-2022-23521
Git is distributed revision control system
9.8
CVE-2014-9390
Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode…
9.8
CVE-2019-1353
An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6
