{
  "threat_severity" : "Moderate",
  "public_date" : "2019-12-10T00:00:00Z",
  "bugzilla" : {
    "description" : "git: Arbitrary path overwriting via export-marks in-stream command feature",
    "id" : "1781953",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1781953"
  },
  "cvss3" : {
    "cvss3_base_score" : "3.3",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-20",
  "details" : [ "An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. The --export-marks option of git fast-import is exposed also via the in-stream command feature export-marks=... and it allows overwriting arbitrary paths.", "A flaw was found in the git fast-import command where it provides the export-marks feature that may unexpectedly overwrite arbitrary paths. An attacker can abuse this flaw if they can control the input passed to the fast-import command by using the export-marks feature and overwrite arbitrary files, but would not have complete control on the content of the file." ],
  "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" : "Out of support scope",
    "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"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2019-1348\nhttps://nvd.nist.gov/vuln/detail/CVE-2019-1348\nhttps://github.com/git/git/security/advisories/GHSA-2pw3-gwg9-8pqr" ],
  "name" : "CVE-2019-1348",
  "mitigation" : {
    "value" : "Avoid running `git fast-import` on untrusted input.",
    "lang" : "en:us"
  },
  "csaw" : false
}