{
  "threat_severity" : "Important",
  "public_date" : "2016-10-31T00:00:00Z",
  "bugzilla" : {
    "description" : "memcached: Server append/prepend remote code execution",
    "id" : "1390510",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1390510"
  },
  "cvss" : {
    "cvss_base_score" : "6.8",
    "cvss_scoring_vector" : "AV:N/AC:M/Au:N/C:P/I:P/A:P",
    "status" : "verified"
  },
  "cvss3" : {
    "cvss3_base_score" : "9.8",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-190",
  "details" : [ "An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible for processing multiple commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.", "An integer overflow flaw, leading to a heap-based buffer overflow, was found in the memcached binary protocol. An attacker could create a specially crafted message that would cause the memcached server to crash or, potentially, execute arbitrary code." ],
  "statement" : "The versions of memcached as shipped with Red Hat OpenStack Platform 7, 8 and 9 are affected by this issue however will not be updated. The latest version of memcached from Red Hat Enterprise Linux 7 can safely be allowed to supersede the earlier versions provided in the Red Hat OpenStack Platform channels.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "release_date" : "2016-11-23T00:00:00Z",
    "advisory" : "RHSA-2016:2820",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6",
    "package" : "memcached-0:1.4.4-3.el6_8.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2016-11-23T00:00:00Z",
    "advisory" : "RHSA-2016:2819",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "memcached-0:1.4.15-10.el7_3.1"
  }, {
    "product_name" : "Red Hat Mobile Application Platform 4.2",
    "release_date" : "2017-01-11T00:00:00Z",
    "advisory" : "RHSA-2017:0059",
    "cpe" : "cpe:/a:redhat:mobile_application_platform:4.2",
    "package" : "rhmap-fh-openshift-templates-0:1.0.0-5.el7",
    "impact" : "moderate"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)",
    "fix_state" : "Will not fix",
    "package_name" : "memcached",
    "cpe" : "cpe:/a:redhat:openstack:7"
  }, {
    "product_name" : "Red Hat OpenStack Platform 10 (Newton)",
    "fix_state" : "Not affected",
    "package_name" : "memcached",
    "cpe" : "cpe:/a:redhat:openstack:10"
  }, {
    "product_name" : "Red Hat OpenStack Platform 8 (Liberty)",
    "fix_state" : "Will not fix",
    "package_name" : "memcached",
    "cpe" : "cpe:/a:redhat:openstack:8"
  }, {
    "product_name" : "Red Hat OpenStack Platform 9 (Mitaka)",
    "fix_state" : "Will not fix",
    "package_name" : "memcached",
    "cpe" : "cpe:/a:redhat:openstack:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2016-8704\nhttps://nvd.nist.gov/vuln/detail/CVE-2016-8704\nhttp://www.talosintelligence.com/reports/TALOS-2016-0219/" ],
  "name" : "CVE-2016-8704",
  "mitigation" : {
    "value" : "This flaw is in the memcached binary protocol. If you client programs only use the ASCII protocol when communicating with memcached, you can disable the binary protocol and protect against this flaw by adding \"-B ascii\" to OPTIONS in /etc/sysconfig/memcached.",
    "lang" : "en:us"
  },
  "csaw" : false
}