CVE-2014-9938

8.8 HIGH
Published: March 20, 2017 Modified: May 13, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2004
Source: cve@mitre.org
Third Party Advisory
https://github.com/njhartwell/pw3nage
Source: cve@mitre.org
Exploit Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2004
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://github.com/njhartwell/pw3nage
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory

6 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.8 / 10.0
EPSS (Exploit Probability)
2.3%
81th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

git-scm