{"cve":"CVE-2010-2542","nvd":{"published":"2010-08-11T18:47:50.687","modified":"2026-06-16T23:20:57.107","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-787"],"references":["http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc","http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html","http://secunia.com/advisories/43457","http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt","http://www.openwall.com/lists/oss-security/2010/07/22/1"],"products":["git-scm:git"],"source":"nvd","synced_at":"2026-10-19T19:56:26.512081652+00:00"},"epss":{"cve":"CVE-2010-2542","score":0.02507,"percentile":0.84749,"date":"2026-11-01"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}