CVE
CVE-2014-9938
publishedgit: git-prompt.sh does not sanitize branch names in $PS1
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Oracle Linux | 7 | emacs-gitaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-gitnoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Ubuntu | trusty | git | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Oracle Linux | 7 | emacs-gitx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | emacs-git-elaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | emacs-git-elx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | gitaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
Show 75 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | gitx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-allaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-allx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-bzraarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-bzrx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-cvsaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-cvsx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-daemonaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-daemonx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-emailaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-emailx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-guiaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-guix86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-hgaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-hgx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-p4aarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-p4x86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-svnaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | git-svnx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | gitkaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | gitkx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | gitwebaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | gitwebx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | perl-Gitaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | perl-Gitx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | perl-Git-SVNaarch64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Oracle Linux | 7 | perl-Git-SVNx86_64 | Advisory build | 0:1.8.3.1-11.el7 | ELSA-2017-2004 |
| Red Hat Enterprise Linux | RHEL-7 | emacs-git-elnoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | gitaarch64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | gitppc64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | gitppc64le | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | gits390x | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | gitsrc | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | gitx86_64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-allnoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-bzrnoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-cvsnoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-daemonaarch64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-daemonppc64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-daemonppc64le | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-daemons390x | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-daemonx86_64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-debuginfoaarch64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-debuginfoppc64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-debuginfoppc64le | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-debuginfos390x | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-debuginfox86_64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-emailnoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-guinoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-hgnoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-p4noarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-svnaarch64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-svnppc64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-svnppc64le | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-svns390x | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | git-svnx86_64 | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | gitknoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | gitwebnoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | perl-Gitnoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Red Hat Enterprise Linux | RHEL-7 | perl-Git-SVNnoarch | Advisory build | 1.8.3.1-11.el7 | RHSA-2017:2004 |
| Ubuntu | trusty | git-all | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-arch | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-bzr | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-core | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-cvs | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-daemon-run | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-daemon-sysvinit | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-el | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-email | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-gui | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-man | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-mediawiki | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | git-svn | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | gitk | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
| Ubuntu | trusty | gitweb | Advisory build | 1:1.9.1-1ubuntu0.4 | USN-3243-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
3- RHSA-2017:2004 https://access.redhat.com/errata/RHSA-2017:2004
- https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f
- https://github.com/njhartwell/pw3nage
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fba248f67d3521c464603753ec70c23ce530cc3824584b49ee9405b2fc1a8280
- Ingested
- 23 Sep 2026, 07:40:22 UTC
- Source record
- Official CVE record