7.5
HIGH
CVE-2010-2542
Git Stack Based Buffer Overflow Privilege Elevation Vulnerability
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.

INFO

Published Date :

Aug. 11, 2010, 6:47 p.m.

Last Modified :

Feb. 13, 2023, 3:17 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

10.0
Affected Products

The following products are affected by CVE-2010-2542 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Git-scm git
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2010-2542.

URL Resource
http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc
http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html Third Party Advisory
http://secunia.com/advisories/43457 Third Party Advisory
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt Broken Link
http://www.openwall.com/lists/oss-security/2010/07/22/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2010/07/22/4 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/41891 Third Party Advisory VDB Entry
http://www.vupen.com/english/advisories/2011/0464 Permissions Required
https://bugzilla.redhat.com/show_bug.cgi?id=618108 Issue Tracking Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2010-2542 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2010-2542 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 13, 2023

    Action Type Old Value New Value
    Removed Reference http://git.kernel.org/?p=git/git.git;a=commit;h=3c9d0414ed2db0167e6c828b547be8fc9f88fccc [Third Party Advisory]
    Added Reference http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc [No Types Assigned]
  • Modified Analysis by [email protected]

    Oct. 02, 2020

    Action Type Old Value New Value
    Changed Reference Type http://git.kernel.org/?p=git/git.git;a=commit;h=3c9d0414ed2db0167e6c828b547be8fc9f88fccc No Types Assigned http://git.kernel.org/?p=git/git.git;a=commit;h=3c9d0414ed2db0167e6c828b547be8fc9f88fccc Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html Third Party Advisory
    Changed Reference Type http://secunia.com/advisories/43457 No Types Assigned http://secunia.com/advisories/43457 Third Party Advisory
    Changed Reference Type http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt No Types Assigned http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt Broken Link
    Changed Reference Type http://www.openwall.com/lists/oss-security/2010/07/22/1 No Types Assigned http://www.openwall.com/lists/oss-security/2010/07/22/1 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2010/07/22/4 No Types Assigned http://www.openwall.com/lists/oss-security/2010/07/22/4 Mailing List, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/41891 No Types Assigned http://www.securityfocus.com/bid/41891 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.vupen.com/english/advisories/2011/0464 No Types Assigned http://www.vupen.com/english/advisories/2011/0464 Permissions Required
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=618108 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=618108 Issue Tracking, Third Party Advisory
    Removed CWE NIST CWE-119
    Added CWE NIST CWE-787
    Changed CPE Configuration OR *cpe:2.3:a:git:git:*:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.01:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.02:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.03:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.04:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.7:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.99.9j:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.99.9k:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.99.9l:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.99.9m:*:*:*:*:*:*:* *cpe:2.3:a:git:git:0.99.9n:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.0.0:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.0.0b:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.0.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.0.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.0.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.0.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.0.7:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.0.8:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.1.0:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.1.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.1.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.1.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.1.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.1.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.1.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.2.0:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.2.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.2.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.2.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.2.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.2.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.2.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.3.0:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.3.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.3.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.3.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.0:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.1.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.2.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.2.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.2.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.2.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.3.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.3.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.3.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.3.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.3.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.4.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.4.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.4.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.4.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.4.4.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0:rc2:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0:rc3:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0:rc4:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.0.7:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.1.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.1.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.1.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.1.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.1.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.1.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.2.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.2.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.2.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.2.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.2.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3:rc4:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3:rc5:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3:rc7:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3.7:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.3.8:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4:rc0:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4:rc1:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4:rc1.1136.g2794:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4:rc2:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4:rc3:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4:rc4:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4:rc5:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.4.7:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5:rc1:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5:rc2:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5:rc3:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5.3:r1:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.5.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.6.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.6.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.6.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.6.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.6.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.6.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.6.6:rc0:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.6.6:rc2:*:*:*:*:*:* *cpe:2.3:a:git:git:1.5.6.6:rc3:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.0:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.0:rc1:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.0:rc2:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.0:rc3:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.0.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.0.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.0.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.0.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.0.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.0.6:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.1:rc1:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.1:rc2:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.1:rc3:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.1:rc4:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.1.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.2:rc1:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.2.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.2.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.2.3:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.2.4:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.2.5:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.3:rc1:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.3:rc2:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.3:rc3:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.3:rc4:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.3.1:*:*:*:*:*:*:* *cpe:2.3:a:git:git:1.6.3.2:*:*:*:*:*:*:* *cpe:2.3:a:git:git:*:*:*:*:*:*:*:* versions up to (including) 1.7.2 OR *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions up to (excluding) 1.7.2.1
  • Initial Analysis by [email protected]

    Aug. 12, 2010

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2010-2542 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2010-2542 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.34 }} 0.00%

score

0.66778

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability