Loading
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.
Use CWE-787, Git-Scm vendor hub and Git product page to widen CVE-2010-2542 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2025-48384, CVE-2022-41903 and CVE-2022-23521 for nearby disclosures in the same product family.