CVE-2010-2542

Summary

CVECVE-2010-2542
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2010-08-11 18:47:50 UTC
Updated2026-04-29 01:13:23 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

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-787 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Git-scm Git All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Git 'gitdir' Remote Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Bug 618108 – CVE-2010-2542 Git: Arbitrary code execution via specially-crafted .git file af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Permissions Required
oss-security - CVE request: git af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
git.git - The core git plumbing af854a3a-2127-422b-91ae-364da2661108 git.kernel.org
SUSE update for git - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Third Party Advisory
[security-announce] SUSE Security Summary Report: SUSE-SR:2011:004 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
404: File not found af854a3a-2127-422b-91ae-364da2661108 www.kernel.org Broken Link
oss-security - Re: CVE request: git af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
git.git - The core git plumbing MITRE git.kernel.org
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.

Free CVE JSON API cve.report/api

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