CVE-2017-2620 Memory corruption in Qemu:

Medium 5.5 Published Updated

A privileged guest user can trigger an out-of-bounds access in QEMU's Cirrus VGA emulator to crash the process or execute arbitrary code on the host.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-2620?

CVE-2017-2620 is a medium-severity memory corruption vulnerability in Citrix Xenserver, published on 27 Jul 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Quick emulator (QEMU) before 2.8 built with the Cirrus CLGD 54xx VGA Emulator support is vulnerable to an out-of-bounds access issue. The issue could occur while copying VGA data in cirrus_bitblt_cputovideo. A privileged user inside guest could use this flaw to crash the QEMU process OR potentially execute arbitrary code on host with privileges of the QEMU process.

Weakness: CWE-125, CWE-787

Which versions are affected by CVE-2017-2620?

It affects 10 products.

Linux distribution packages (24)
qemu-guest-agent Red Hat:enterprise_linux:6::clientAll versions2:0.12.1.2-2.491.el6_8.7
qemu-img Red Hat:enterprise_linux:6::clientAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm Red Hat:enterprise_linux:6::clientAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-debuginfo Red Hat:enterprise_linux:6::clientAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-tools Red Hat:enterprise_linux:6::clientAll versions2:0.12.1.2-2.491.el6_8.7
qemu-guest-agent Red Hat:enterprise_linux:6::computenodeAll versions2:0.12.1.2-2.491.el6_8.7
qemu-img Red Hat:enterprise_linux:6::computenodeAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm Red Hat:enterprise_linux:6::computenodeAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-tools Red Hat:enterprise_linux:6::computenodeAll versions2:0.12.1.2-2.491.el6_8.7
qemu-img-rhev Red Hat:enterprise_linux:6::hypervisorAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-rhev Red Hat:enterprise_linux:6::hypervisorAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-rhev-debuginfo Red Hat:enterprise_linux:6::hypervisorAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-rhev-tools Red Hat:enterprise_linux:6::hypervisorAll versions2:0.12.1.2-2.491.el6_8.7
qemu-guest-agent Red Hat:enterprise_linux:6::serverAll versions2:0.12.1.2-2.491.el6_8.7
qemu-img Red Hat:enterprise_linux:6::serverAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm Red Hat:enterprise_linux:6::serverAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-debuginfo Red Hat:enterprise_linux:6::serverAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-tools Red Hat:enterprise_linux:6::serverAll versions2:0.12.1.2-2.491.el6_8.7
qemu-guest-agent Red Hat:enterprise_linux:6::workstationAll versions2:0.12.1.2-2.491.el6_8.7
qemu-img Red Hat:enterprise_linux:6::workstationAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm Red Hat:enterprise_linux:6::workstationAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-debuginfo Red Hat:enterprise_linux:6::workstationAll versions2:0.12.1.2-2.491.el6_8.7
qemu-kvm-tools Red Hat:enterprise_linux:6::workstationAll versions2:0.12.1.2-2.491.el6_8.7

Products include Citrix Xenserver, Debian Debian Linux, Qemu Qemu, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus and 4 more.

How do I fix CVE-2017-2620?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-2620 being exploited?

There is no known exploitation of CVE-2017-2620 in the wild and no public exploit code.

All Citrix Xenserver vulnerabilities

Sources

Also known as ALPINE-CVE-2017-2620, DEBIAN-CVE-2017-2620, GHSA-v6gr-ph59-9hqm, RHSA-2017:0351, RHSA-2017:0352, UBUNTU-CVE-2017-2620.

Is CVE-2017-2620 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free