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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*

History

21 Nov 2024, 02:22

Type Values Removed Values Added
References () https://access.redhat.com/errata/RHSA-2017:2004 - Third Party Advisory () https://access.redhat.com/errata/RHSA-2017:2004 - Third Party Advisory
References () https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f - Patch, Third Party Advisory () https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f - Patch, Third Party Advisory
References () https://github.com/njhartwell/pw3nage - Exploit, Third Party Advisory () https://github.com/njhartwell/pw3nage - Exploit, Third Party Advisory

Information

Published : 2017-03-20 00:59

Updated : 2024-11-21 02:22


NVD link : CVE-2014-9938

Mitre link : CVE-2014-9938

CVE.ORG link : CVE-2014-9938


JSON object : View

Products Affected

git-scm

  • git
CWE
CWE-116

Improper Encoding or Escaping of Output