CVE-2014-9938: High severity git-scm Git vulnerability
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/gitto a version that resolves this vulnerability.Fixed in 1.9.3 - Upgrade
Upgrade
git/gitto a version that resolves this vulnerability.Fixed in 1.9.3
Event History
Frequently Asked Questions
What is the severity of CVE-2014-9938?
CVE-2014-9938 is considered a high severity vulnerability that allows code execution through unsanitized branch names in Git's PS1 variable.
How do I fix CVE-2014-9938?
To fix CVE-2014-9938, update Git to version 1.9.3 or later where the vulnerability has been addressed.
Which versions of Git are affected by CVE-2014-9938?
CVE-2014-9938 affects Git versions prior to 1.9.3.
What is the impact of CVE-2014-9938?
The impact of CVE-2014-9938 can lead to remote code execution if a user interacts with a malicious repository.
Can CVE-2014-9938 be exploited by a local user?
Yes, CVE-2014-9938 can be exploited by a local user who can execute commands within a Git environment with untrusted branches.