{
  "threat_severity" : "Important",
  "public_date" : "2018-04-05T00:00:00Z",
  "bugzilla" : {
    "description" : "patch: Malicious patch files cause ed to execute arbitrary commands",
    "id" : "1564326",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1564326"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.8",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-77",
  "details" : [ "GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution. This attack appear to be exploitable via a patch file processed via the patch utility. This is similar to FreeBSD's CVE-2015-1418 however although they share a common ancestry the code bases have diverged over time." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "release_date" : "2018-04-23T00:00:00Z",
    "advisory" : "RHSA-2018:1199",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6",
    "package" : "patch-0:2.6-8.el6_9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6.4 Advanced Update Support",
    "release_date" : "2018-06-27T00:00:00Z",
    "advisory" : "RHSA-2018:2097",
    "cpe" : "cpe:/o:redhat:rhel_aus:6.4",
    "package" : "patch-0:2.6-8.el6_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6.5 Advanced Update Support",
    "release_date" : "2018-06-27T00:00:00Z",
    "advisory" : "RHSA-2018:2096",
    "cpe" : "cpe:/o:redhat:rhel_aus:6.5",
    "package" : "patch-0:2.6-8.el6_5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6.6 Advanced Update Support",
    "release_date" : "2018-06-27T00:00:00Z",
    "advisory" : "RHSA-2018:2095",
    "cpe" : "cpe:/o:redhat:rhel_aus:6.6",
    "package" : "patch-0:2.6-8.el6_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6.6 Telco Extended Update Support",
    "release_date" : "2018-06-27T00:00:00Z",
    "advisory" : "RHSA-2018:2095",
    "cpe" : "cpe:/o:redhat:rhel_tus:6.6",
    "package" : "patch-0:2.6-8.el6_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6.7 Extended Update Support",
    "release_date" : "2018-06-27T00:00:00Z",
    "advisory" : "RHSA-2018:2094",
    "cpe" : "cpe:/o:redhat:rhel_eus:6.7",
    "package" : "patch-0:2.6-8.el6_7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2018-04-23T00:00:00Z",
    "advisory" : "RHSA-2018:1200",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "patch-0:2.7.1-10.el7_5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.2 Advanced Update Support",
    "release_date" : "2018-06-27T00:00:00Z",
    "advisory" : "RHSA-2018:2093",
    "cpe" : "cpe:/o:redhat:rhel_aus:7.2",
    "package" : "patch-0:2.7.1-10.el7_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.2 Telco Extended Update Support",
    "release_date" : "2018-06-27T00:00:00Z",
    "advisory" : "RHSA-2018:2093",
    "cpe" : "cpe:/o:redhat:rhel_tus:7.2",
    "package" : "patch-0:2.7.1-10.el7_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.2 Update Services for SAP Solutions",
    "release_date" : "2018-06-27T00:00:00Z",
    "advisory" : "RHSA-2018:2093",
    "cpe" : "cpe:/o:redhat:rhel_e4s:7.2",
    "package" : "patch-0:2.7.1-10.el7_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.3 Extended Update Support",
    "release_date" : "2018-06-27T00:00:00Z",
    "advisory" : "RHSA-2018:2092",
    "cpe" : "cpe:/o:redhat:rhel_eus:7.3",
    "package" : "patch-0:2.7.1-10.el7_3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Extended Update Support",
    "release_date" : "2018-06-27T00:00:00Z",
    "advisory" : "RHSA-2018:2091",
    "cpe" : "cpe:/o:redhat:rhel_eus:7.4",
    "package" : "patch-0:2.7.1-10.el7_4"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Will not fix",
    "package_name" : "patch",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "patch",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2018-1000156\nhttps://nvd.nist.gov/vuln/detail/CVE-2018-1000156" ],
  "name" : "CVE-2018-1000156",
  "csaw" : false
}