{
  "threat_severity" : "Important",
  "public_date" : "2019-08-16T00:00:00Z",
  "bugzilla" : {
    "description" : "patch: do_ed_script in pch.c does not block strings beginning with a ! character",
    "id" : "1746672",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1746672"
  },
  "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-78",
  "details" : [ "do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.", "A flaw was found in GNU patch through version 2.7.6. Strings beginning with a exclamation mark are not blocked by default. When ed receives an exclamation mark-prefixed command line argument, the argument is executed as a shell command. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2019-10-03T00:00:00Z",
    "advisory" : "RHSA-2019:2964",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "patch-0:2.7.1-12.el7_7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Advanced Update Support",
    "release_date" : "2019-12-03T00:00:00Z",
    "advisory" : "RHSA-2019:4061",
    "cpe" : "cpe:/o:redhat:rhel_aus:7.4",
    "package" : "patch-0:2.7.1-11.el7_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Telco Extended Update Support",
    "release_date" : "2019-12-03T00:00:00Z",
    "advisory" : "RHSA-2019:4061",
    "cpe" : "cpe:/o:redhat:rhel_tus:7.4",
    "package" : "patch-0:2.7.1-11.el7_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions",
    "release_date" : "2019-12-03T00:00:00Z",
    "advisory" : "RHSA-2019:4061",
    "cpe" : "cpe:/o:redhat:rhel_e4s:7.4",
    "package" : "patch-0:2.7.1-11.el7_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.5 Extended Update Support",
    "release_date" : "2019-11-06T00:00:00Z",
    "advisory" : "RHSA-2019:3757",
    "cpe" : "cpe:/o:redhat:rhel_eus:7.5",
    "package" : "patch-0:2.7.1-11.el7_5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.6 Extended Update Support",
    "release_date" : "2019-11-06T00:00:00Z",
    "advisory" : "RHSA-2019:3758",
    "cpe" : "cpe:/o:redhat:rhel_eus:7.6",
    "package" : "patch-0:2.7.1-11.el7_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2019-09-19T00:00:00Z",
    "advisory" : "RHSA-2019:2798",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "patch-0:2.7.6-9.el8_0"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Out of support scope",
    "package_name" : "patch",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "patch",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2018-20969\nhttps://nvd.nist.gov/vuln/detail/CVE-2018-20969\nhttps://seclists.org/bugtraq/2019/Aug/29" ],
  "name" : "CVE-2018-20969",
  "csaw" : false
}