{"api_version":"1","generated_at":"2026-04-23T11:32:56+00:00","cve":"CVE-2010-2542","urls":{"html":"https://cve.report/CVE-2010-2542","api":"https://cve.report/api/cve/CVE-2010-2542.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2010-2542","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2010-2542"},"summary":{"title":"CVE-2010-2542","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2010-08-11 18:47:00","updated_at":"2023-02-13 03:17:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"http://git.kernel.org/?p=git/git.git;a=commit;h=3c9d0414ed2db0167e6c828b547be8fc9f88fccc","name":"http://git.kernel.org/?p=git/git.git;a=commit;h=3c9d0414ed2db0167e6c828b547be8fc9f88fccc","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"git.git - The core git plumbing","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2010/07/22/1","name":"[oss-security] 20100721 CVE request: git","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - CVE request: git","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html","name":"SUSE-SR:2011:004","refsource":"SUSE","tags":["Third Party Advisory"],"title":"[security-announce] SUSE Security Summary Report: SUSE-SR:2011:004","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2010/07/22/4","name":"[oss-security] 20100722 Re: CVE request: git","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Re: CVE request: git","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt","name":"http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt","refsource":"CONFIRM","tags":["Broken Link"],"title":"404: File not found","mime":"text/plain","httpstatus":"404","archivestatus":"200"},{"url":"http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc","name":"http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc","refsource":"MISC","tags":[],"title":"git.git - The core git plumbing","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/41891","name":"41891","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Git 'gitdir' Remote Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=618108","name":"https://bugzilla.redhat.com/show_bug.cgi?id=618108","refsource":"CONFIRM","tags":["Issue Tracking","Third Party Advisory"],"title":"Bug 618108 – CVE-2010-2542 Git: Arbitrary code execution via specially-crafted .git file","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/43457","name":"43457","refsource":"SECUNIA","tags":["Third Party Advisory"],"title":"SUSE update for git - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2011/0464","name":"ADV-2011-0464","refsource":"VUPEN","tags":["Permissions Required"],"title":"Webmail - OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2010-2542","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2010-2542","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2010","cve_id":"2542","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"git-scm","cpe5":"git","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2010","cve_id":"2542","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"git-scm","cpe5":"git","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2010-2542","qid":"900135","title":"CBL-Mariner Linux Security Update for git 2.23.3"},{"cve":"CVE-2010-2542","qid":"902976","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for git (2705)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2010-2542","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_affected":"=","version_value":"n/a"}]}}]}}]}},"references":{"reference_data":[{"url":"http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc","refsource":"MISC","name":"http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html","refsource":"MISC","name":"http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html"},{"url":"http://secunia.com/advisories/43457","refsource":"MISC","name":"http://secunia.com/advisories/43457"},{"url":"http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt","refsource":"MISC","name":"http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt"},{"url":"http://www.openwall.com/lists/oss-security/2010/07/22/1","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2010/07/22/1"},{"url":"http://www.openwall.com/lists/oss-security/2010/07/22/4","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2010/07/22/4"},{"url":"http://www.securityfocus.com/bid/41891","refsource":"MISC","name":"http://www.securityfocus.com/bid/41891"},{"url":"http://www.vupen.com/english/advisories/2011/0464","refsource":"MISC","name":"http://www.vupen.com/english/advisories/2011/0464"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=618108","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=618108"}]}},"nvd":{"publishedDate":"2010-08-11 18:47:00","lastModifiedDate":"2023-02-13 03:17:00","problem_types":["CWE-787"],"metrics":{"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionEndExcluding":"1.7.2.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2010","CveId":"2542","Ordinal":"44738","Title":"CVE-2010-2542","CVE":"CVE-2010-2542","Year":"2010"},"notes":[{"CveYear":"2010","CveId":"2542","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2010","CveId":"2542","Ordinal":"2","NoteData":"2010-08-11","Type":"Other","Title":"Published"},{"CveYear":"2010","CveId":"2542","Ordinal":"3","NoteData":"2011-03-01","Type":"Other","Title":"Modified"}]}}}