Vulnerabilities · 2010 · Git-scm
CVE-2010-2542
Git-scm Git vulnerability
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.
Affected products
Git. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Git-scm Git runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html · Third Party Advisory
- secunia.com/advisories/43457 · Third Party Advisory
- www.openwall.com/lists/oss-security/2010/07/22/1 · Third Party Advisory
- www.openwall.com/lists/oss-security/2010/07/22/4 · Third Party Advisory
- www.securityfocus.com/bid/41891 · Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=618108 · Third Party Advisory
- git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc
- www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt
- nvd.nist.gov/vuln/detail/CVE-2010-2542
- cve.org/CVERecord?id=CVE-2010-2542
More vulnerabilities in Git-scm products
CVE-2025-48384CVE-2024-32465CVE-2024-32021CVE-2024-32020CVE-2024-32004CVE-2023-29007CVE-2023-25652CVE-2023-23946All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.