{
  "threat_severity" : "Important",
  "public_date" : "2018-12-14T00:00:00Z",
  "bugzilla" : {
    "description" : "QEMU: device_tree: heap buffer overflow while loading device tree blob",
    "id" : "1693101",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1693101"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.0",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-122",
  "details" : [ "In QEMU 3.1.0, load_device_tree in device_tree.c calls the deprecated load_image function, which has a buffer overflow risk.", "A heap buffer overflow issue was found in the load_device_tree() function of QEMU, which is invoked to load a device tree blob at boot time. It occurs due to device tree size manipulation before buffer allocation, which could overflow a signed int type. A user/process could use this flaw to potentially execute arbitrary code on a host system with privileges of the QEMU process." ],
  "acknowledgement" : "Red Hat would like to thank Kurtis Miller (nccgroup.com) for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2019-07-29T00:00:00Z",
    "advisory" : "RHSA-2019:1881",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "qemu-kvm-ma-10:2.12.0-18.el7_6.4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2019-05-14T00:00:00Z",
    "advisory" : "RHSA-2019:1175",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "virt:rhel-8000020190510171727.55190bc5"
  }, {
    "product_name" : "Red Hat OpenStack Platform 10.0 (Newton)",
    "release_date" : "2019-07-10T00:00:00Z",
    "advisory" : "RHSA-2019:1723",
    "cpe" : "cpe:/a:redhat:openstack:10::el7",
    "package" : "qemu-kvm-rhev-10:2.12.0-18.el7_6.6"
  }, {
    "product_name" : "Red Hat OpenStack Platform 13.0 (Queens)",
    "release_date" : "2019-07-10T00:00:00Z",
    "advisory" : "RHSA-2019:1743",
    "cpe" : "cpe:/a:redhat:openstack:13::el7",
    "package" : "qemu-kvm-rhev-10:2.12.0-18.el7_6.6"
  }, {
    "product_name" : "Red Hat OpenStack Platform 14.0 (Rocky)",
    "release_date" : "2019-07-02T00:00:00Z",
    "advisory" : "RHSA-2019:1667",
    "cpe" : "cpe:/a:redhat:openstack:14::el7",
    "package" : "qemu-kvm-rhev-10:2.12.0-18.el7_6.6"
  }, {
    "product_name" : "Red Hat OpenStack Platform 9.0 (Mitaka)",
    "release_date" : "2019-08-15T00:00:00Z",
    "advisory" : "RHSA-2019:2507",
    "cpe" : "cpe:/a:redhat:openstack:9::el7",
    "package" : "qemu-kvm-rhev-10:2.12.0-18.el7_6.6"
  }, {
    "product_name" : "Red Hat Virtualization 4 for Red Hat Enterprise Linux 7",
    "release_date" : "2019-07-30T00:00:00Z",
    "advisory" : "RHSA-2019:1968",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7::hypervisor",
    "package" : "qemu-kvm-rhev-10:2.12.0-18.el7_6.7"
  }, {
    "product_name" : "Red Hat Virtualization 4 for Red Hat Enterprise Linux 7",
    "release_date" : "2019-08-22T00:00:00Z",
    "advisory" : "RHSA-2019:2553",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7::hypervisor",
    "package" : "qemu-kvm-rhev-10:2.12.0-33.el7"
  }, {
    "product_name" : "Red Hat Virtualization Engine 4.2",
    "release_date" : "2019-07-30T00:00:00Z",
    "advisory" : "RHSA-2019:1968",
    "cpe" : "cpe:/a:redhat:rhev_manager:4.2",
    "package" : "qemu-kvm-rhev-10:2.12.0-18.el7_6.7"
  }, {
    "product_name" : "Red Hat Virtualization Engine 4.3",
    "release_date" : "2019-07-30T00:00:00Z",
    "advisory" : "RHSA-2019:1968",
    "cpe" : "cpe:/a:redhat:rhev_manager:4.3",
    "package" : "qemu-kvm-rhev-10:2.12.0-18.el7_6.7"
  }, {
    "product_name" : "Red Hat Virtualization Engine 4.3",
    "release_date" : "2019-08-22T00:00:00Z",
    "advisory" : "RHSA-2019:2553",
    "cpe" : "cpe:/a:redhat:rhev_manager:4.3",
    "package" : "qemu-kvm-rhev-10:2.12.0-33.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Not affected",
    "package_name" : "kvm",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Not affected",
    "package_name" : "xen",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "qemu-kvm",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "qemu-kvm",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat OpenStack Platform 8 (Liberty)",
    "fix_state" : "Affected",
    "package_name" : "qemu-kvm-rhev",
    "cpe" : "cpe:/a:redhat:openstack:8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2018-20815\nhttps://nvd.nist.gov/vuln/detail/CVE-2018-20815" ],
  "name" : "CVE-2018-20815",
  "csaw" : false
}