Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Git-Scm | Git | < 1.9.3 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2017:2004Third Party Advisory
- https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43fPatchThird Party Advisory
- https://github.com/njhartwell/pw3nageExploitThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2004Third Party Advisory
- https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43fPatchThird Party Advisory
- https://github.com/njhartwell/pw3nageExploitThird Party Advisory
FAQ
What is CVE-2014-9938?
CVE-2014-9938 is a vulnerability with a CVSS score of 8.8 (HIGH). 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.
How severe is CVE-2014-9938?
CVE-2014-9938 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2014-9938?
Check the references section above for vendor advisories and patch information. Affected products include: Git-Scm Git.