CVE-2014-9938

Impact:
Moderate
Public Date:
2014-04-22
CWE:
CWE-78
Bugzilla:
1434415: CVE-2014-9938 git: git-prompt.sh does not sanitize branch names in $PS1
It was found that the git-prompt.sh script shipped with git failed to correctly handle branch names containing special characters. A specially crafted git repository could use this flaw to execute arbitrary commands if a user working with the repository configured their shell to include repository information in the prompt.

Find out more about CVE-2014-9938 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

CVSS3 Base Score 7.8
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity Impact High
Availability Impact High

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 7 (git) RHSA-2017:2004 2017-08-01

Affected Packages State

Platform Package State
Red Hat Software Collections for Red Hat Enterprise Linux rh-git29-git Not affected
Red Hat Enterprise Linux 6 git Not affected

Last Modified
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.