CVE-2014-9938
high
CVSS v3
8.8
CVSS v2
6.8
VIR risk
8.8
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.
Predictions
Exploit likelihood
92%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2014-9938
Vendor advisory: cve@mitre.org — https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2014-9938.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 1:2.0.0~rc2-1 |
| debian | bullseye | fixed | 1:2.0.0~rc2-1 |
| debian | forky | fixed | 1:2.0.0~rc2-1 |
| debian | sid | fixed | 1:2.0.0~rc2-1 |
| debian | trixie | fixed | 1:2.0.0~rc2-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| git-scm | git | {"endExcluding":"1.9.3"} | 1.9.3 |
References
CWEs
CWE-116
Verify integrity in audit chain (admin only). AS-IS.