{
  "threat_severity" : "Moderate",
  "public_date" : "2019-12-10T00:00:00Z",
  "bugzilla" : {
    "description" : "git: Recursive submodule cloning allows using git directory twice with synonymous directory name written in .git/",
    "id" : "1781143",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1781143"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.5",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-20",
  "details" : [ "A remote code execution vulnerability exists when Git for Visual Studio improperly sanitizes input, aka 'Git for Visual Studio Remote Code Execution Vulnerability'. This CVE ID is unique from CVE-2019-1350, CVE-2019-1352, CVE-2019-1354, CVE-2019-1387.", "An improper input validation flaw was discovered in git in the way it handles git submodules. A remote attacker could abuse this flaw to trick a victim user into recursively cloning a malicious repository, which, under certain circumstances, could fool git into using the same git directory twice and potentially cause remote code execution." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2019-12-19T00:00:00Z",
    "advisory" : "RHSA-2019:4356",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "git-0:2.18.2-1.el8_1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions",
    "release_date" : "2020-01-27T00:00:00Z",
    "advisory" : "RHSA-2020:0228",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.0",
    "package" : "git-0:2.18.2-1.el8_0"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2020-01-02T00:00:00Z",
    "advisory" : "RHSA-2020:0002",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-git218-git-0:2.18.2-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS",
    "release_date" : "2020-01-02T00:00:00Z",
    "advisory" : "RHSA-2020:0002",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-git218-git-0:2.18.2-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS",
    "release_date" : "2020-01-02T00:00:00Z",
    "advisory" : "RHSA-2020:0002",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-git218-git-0:2.18.2-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS",
    "release_date" : "2020-01-02T00:00:00Z",
    "advisory" : "RHSA-2020:0002",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-git218-git-0:2.18.2-1.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 Enterprise Linux 7",
    "fix_state" : "Will not fix",
    "package_name" : "git",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Fuse 7",
    "fix_state" : "Not affected",
    "package_name" : "camel-git",
    "cpe" : "cpe:/a:redhat:jboss_fuse:7"
  }, {
    "product_name" : "Red Hat JBoss Fuse 6",
    "fix_state" : "Not affected",
    "package_name" : "camel-git",
    "cpe" : "cpe:/a:redhat:jboss_fuse:6"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "fix_state" : "Not affected",
    "package_name" : "jenkins-2-plugins",
    "cpe" : "cpe:/a:redhat:openshift:3.11"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Not affected",
    "package_name" : "jenkins-2-plugins",
    "cpe" : "cpe:/a:redhat:openshift:4"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2019-1349\nhttps://nvd.nist.gov/vuln/detail/CVE-2019-1349\nhttps://github.com/git/git/security/advisories/GHSA-4qvh-qvv7-frc7" ],
  "name" : "CVE-2019-1349",
  "mitigation" : {
    "value" : "Avoid running `git clone --recurse-submodules` and `git submodule update` with untrusted repositories.",
    "lang" : "en:us"
  },
  "csaw" : false
}