Vulnerability Details : CVE-2014-9938
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.
Products affected by CVE-2014-9938
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2014-9938
0.98%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 83 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2014-9938
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2014-9938
-
The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.Assigned by: nvd@nist.gov (Primary)
References for CVE-2014-9938
-
https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f
git-prompt.sh: don't put unsanitized branch names in $PS1 · git/git@8976500 · GitHubPatch;Third Party Advisory
-
https://access.redhat.com/errata/RHSA-2017:2004
RHSA-2017:2004 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://github.com/njhartwell/pw3nage
GitHub - njhartwell/pw3nage: If you get pw3ned, might want to fix your shellExploit;Third Party Advisory
Jump to