CVE-2010-2542

Summary

CVECVE-2010-2542
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2010-08-11 18:47:00 UTC
Updated2023-02-13 03:17:00 UTC
DescriptionStack-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.

Risk And Classification

Problem Types: CWE-787

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Git-scm Git All All All All
Application Git-scm Git All All All All

References

ReferenceSourceLinkTags
git.git - The core git plumbing CONFIRM git.kernel.org Third Party Advisory
oss-security - CVE request: git MLIST www.openwall.com Mailing List, Third Party Advisory
[security-announce] SUSE Security Summary Report: SUSE-SR:2011:004 SUSE lists.opensuse.org Third Party Advisory
oss-security - Re: CVE request: git MLIST www.openwall.com Mailing List, Third Party Advisory
404: File not found CONFIRM www.kernel.org Broken Link
git.git - The core git plumbing MISC git.kernel.org
Git 'gitdir' Remote Buffer Overflow Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
Bug 618108 – CVE-2010-2542 Git: Arbitrary code execution via specially-crafted .git file CONFIRM bugzilla.redhat.com Issue Tracking, Third Party Advisory
SUSE update for git - Secunia.com SECUNIA secunia.com Third Party Advisory
Webmail - OVH VUPEN www.vupen.com Permissions Required
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 900135 CBL-Mariner Linux Security Update for git 2.23.3
  • 902976 Common Base Linux Mariner (CBL-Mariner) Security Update for git (2705)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report