Description

contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in the PS1 variable, allowing a malicious repository to cause code execution.

INFO

Published Date :

March 20, 2017, 12:59 a.m.

Last Modified :

April 29, 2020, 8:26 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2014-9938 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-2014-9938.

URL Resource
https://access.redhat.com/errata/RHSA-2017:2004 Third Party Advisory
https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f Patch Third Party Advisory
https://github.com/njhartwell/pw3nage Exploit 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-2014-9938 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2014-9938 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
  • Modified Analysis by [email protected]

    Apr. 29, 2020

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2004 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2004 Third Party Advisory
    Changed Reference Type https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f Patch https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f Patch, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:git_project:git:*:*:*:*:*:*:*:* versions up to (including) 1.9.2 OR *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions up to (excluding) 1.9.3
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:2004 [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 21, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/njhartwell/pw3nage No Types Assigned https://github.com/njhartwell/pw3nage Exploit, Third Party Advisory
    Changed Reference Type https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f No Types Assigned https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f Patch
    Added CWE CWE-116
    Added CPE Configuration OR *cpe:2.3:a:git_project:git:1.9.2:*:*:*:*:*:*:* (and previous)
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-2014-9938 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-2014-9938 weaknesses.

Exploit Prediction

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

0.78 }} 0.00%

score

0.78656

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability