CVE-2018-20815 Memory corruption in n/a
A buffer overflow in QEMU's device tree loading allows attackers to execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-20815?
CVE-2018-20815 is a critical memory corruption vulnerability in Qemu Qemu, published on 31 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In QEMU 3.1.0, load_device_tree in device_tree.c calls the deprecated load_image function, which has a buffer overflow risk.
Weakness: CWE-119
Which versions are affected by CVE-2018-20815?
It affects 1 product.
Linux distribution packages (25)
qemu-img-ma Red Hat:enterprise_linux:7::server | All versions | 10:2.12.0-18.el7_6.4 |
qemu-kvm-common-ma Red Hat:enterprise_linux:7::server | All versions | 10:2.12.0-18.el7_6.4 |
qemu-kvm-ma Red Hat:enterprise_linux:7::server | All versions | 10:2.12.0-18.el7_6.4 |
qemu-kvm-ma-debuginfo Red Hat:enterprise_linux:7::server | All versions | 10:2.12.0-18.el7_6.4 |
qemu-kvm-tools-ma Red Hat:enterprise_linux:7::server | All versions | 10:2.12.0-18.el7_6.4 |
qemu-img-rhev Red Hat:openstack:10::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-common-rhev Red Hat:openstack:10::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-rhev Red Hat:openstack:10::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-rhev-debuginfo Red Hat:openstack:10::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-tools-rhev Red Hat:openstack:10::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-img-rhev Red Hat:openstack:13::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-common-rhev Red Hat:openstack:13::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-rhev Red Hat:openstack:13::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-rhev-debuginfo Red Hat:openstack:13::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-tools-rhev Red Hat:openstack:13::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-img-rhev Red Hat:openstack:14::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-common-rhev Red Hat:openstack:14::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-rhev Red Hat:openstack:14::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-rhev-debuginfo Red Hat:openstack:14::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-tools-rhev Red Hat:openstack:14::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-img-rhev Red Hat:openstack:9::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-common-rhev Red Hat:openstack:9::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-rhev Red Hat:openstack:9::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-rhev-debuginfo Red Hat:openstack:9::el7 | All versions | 10:2.12.0-18.el7_6.6 |
qemu-kvm-tools-rhev Red Hat:openstack:9::el7 | All versions | 10:2.12.0-18.el7_6.6 |
Products include Qemu Qemu.
How do I fix CVE-2018-20815?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-20815 being exploited?
There is no known exploitation of CVE-2018-20815 in the wild and no public exploit code.
Other vulnerabilities in Qemu Qemu
Sources
Also known as DEBIAN-CVE-2018-20815, GHSA-4g35-fx39-gwjh, RHSA-2019:1667, RHSA-2019:1723, RHSA-2019:1743, RHSA-2019:1881 and 2 more.