{
  "threat_severity" : "Moderate",
  "public_date" : "2014-04-22T00:00:00Z",
  "bugzilla" : {
    "description" : "git: git-prompt.sh does not sanitize branch names in $PS1",
    "id" : "1434415",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1434415"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.8",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-78",
  "details" : [ "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.", "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." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2017-08-01T00:00:00Z",
    "advisory" : "RHSA-2017:2004",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "git-0:1.8.3.1-11.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "git",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Software Collections",
    "fix_state" : "Not affected",
    "package_name" : "rh-git29-git",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2014-9938\nhttps://nvd.nist.gov/vuln/detail/CVE-2014-9938" ],
  "name" : "CVE-2014-9938",
  "csaw" : false
}