Cloudanix VulnDB

CVE-2017-11334

Medium · 4.4

CVSS

4.4

EPSS

0.5%

Published

Aug 2, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in the software that runs virtual machines lets someone who already controls a virtual machine shut it down from the inside.

Exploitation
Local Privilege
Attacker needs
High Privilege
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw permits a privileged process inside a guest virtual machine to trigger out-of-bounds memory access through qemu_map_ram_ptr in address_space_write_continue, resulting in guest instance termination.

Why it matters to the business

Virtual machines running on affected hypervisor builds can be crashed on demand by an insider with administrative rights inside the guest, causing unplanned downtime and potential loss of availability for workloads hosted on those instances.

How an attack unfolds

An attacker who already possesses root or equivalent privileges inside a guest operating system crafts a sequence of memory operations that reach the vulnerable write-continue path, forcing the hypervisor to dereference an invalid guest RAM block pointer and crash the entire VM instance.

How to fix it

Upgrade the QEMU package to a version containing the fix for the memory access logic; for the referenced build this corresponds to cluster-autoscaler-fips-1.27 updated to 1.27.3-r3 or newer.

How to confirm the fix worked

Confirm the installed QEMU binary reports a version at or above the fixed release, then attempt to reproduce the original memory-mapping sequence under controlled conditions to verify the guest no longer crashes.

Typical attack path

  1. Obtain administrative access inside the target guest operating system
  2. Execute code that invokes qemu_map_ram_ptr on a crafted guest RAM region
  3. Trigger address_space_write_continue to perform the out-of-bounds access
  4. Cause the hypervisor to terminate the guest instance

How to detect it

Review hypervisor and guest kernel logs for abrupt VM terminations accompanied by memory access violation messages around the exec.c or address_space_write_continue functions; correlate with privileged user activity inside guests.

What your security team should do

  • Prioritize patching QEMU across all virtualization hosts within the published remediation window
  • Restrict administrative access inside guest operating systems to the minimum required personnel
  • Monitor hypervisor logs for unexpected guest terminations that could indicate attempted exploitation

The record

The address_space_write_continue function in exec.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (out-of-bounds access and guest instance crash) by leveraging use of qemu_map_ram_ptr to access guest ram block area.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 qemu 0 1:2.8+dfsg-7
Debian:12 qemu 0 1:2.8+dfsg-7
Debian:13 qemu 0 1:2.8+dfsg-7
Debian:9 qemu 0 1:2.8+dfsg-6+deb9u2
Red Hat:enterprise_linux:7::hypervisor qemu-img-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:enterprise_linux:7::hypervisor qemu-kvm-common-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:enterprise_linux:7::hypervisor qemu-kvm-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:enterprise_linux:7::hypervisor qemu-kvm-rhev-debuginfo 0 10:2.9.0-16.el7_4.11
Red Hat:enterprise_linux:7::hypervisor qemu-kvm-tools-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:10::el7 qemu-img-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:10::el7 qemu-kvm-common-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:10::el7 qemu-kvm-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:10::el7 qemu-kvm-rhev-debuginfo 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:10::el7 qemu-kvm-tools-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:11::el7 qemu-img-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:11::el7 qemu-kvm-common-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:11::el7 qemu-kvm-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:11::el7 qemu-kvm-rhev-debuginfo 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:11::el7 qemu-kvm-tools-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:6::el7 qemu-img-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:6::el7 qemu-kvm-common-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:6::el7 qemu-kvm-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:6::el7 qemu-kvm-rhev-debuginfo 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:6::el7 qemu-kvm-tools-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:7::el7 qemu-img-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:7::el7 qemu-kvm-common-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:7::el7 qemu-kvm-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:7::el7 qemu-kvm-rhev-debuginfo 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:7::el7 qemu-kvm-tools-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:8::el7 qemu-img-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:8::el7 qemu-kvm-common-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:8::el7 qemu-kvm-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:8::el7 qemu-kvm-rhev-debuginfo 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:8::el7 qemu-kvm-tools-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:9::el7 qemu-img-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:9::el7 qemu-kvm-common-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:9::el7 qemu-kvm-rhev 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:9::el7 qemu-kvm-rhev-debuginfo 0 10:2.9.0-16.el7_4.11
Red Hat:openstack:9::el7 qemu-kvm-tools-rhev 0 10:2.9.0-16.el7_4.11
SUSE:Linux Enterprise Desktop 12 SP2 qemu 0 2.6.2-41.22.2
SUSE:Linux Enterprise Desktop 12 SP3 qemu 0 2.9.0-6.3.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kvm 0 1.4.2-53.11.1
SUSE:Linux Enterprise Point of Sale 11 SP3 xen 0 4.2.5_21-45.5.1
SUSE:Linux Enterprise Point of Sale 11 SP3 xen 0 4.2.5_21-45.19.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kvm 0 1.4.2-53.11.1
SUSE:Linux Enterprise Server 11 SP3-LTSS xen 0 4.2.5_21-45.5.1
SUSE:Linux Enterprise Server 11 SP3-LTSS xen 0 4.2.5_21-45.19.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA kvm 0 1.4.2-53.11.1
SUSE:Linux Enterprise Server 11 SP4 kvm 0 1.4.2-60.3.1
SUSE:Linux Enterprise Server 11 SP4 xen 0 4.4.4_22-61.9.2
SUSE:Linux Enterprise Server 12 SP1-LTSS qemu 0 2.3.1-33.3.3
SUSE:Linux Enterprise Server 12 SP1-LTSS xen 0 4.5.5_14-22.25.1
SUSE:Linux Enterprise Server 12 SP2 qemu 0 2.6.2-41.22.2
SUSE:Linux Enterprise Server 12 SP3 qemu 0 2.9.0-6.3.1
SUSE:Linux Enterprise Server 12-LTSS qemu 0 2.0.2-48.34.3
SUSE:Linux Enterprise Server 12-LTSS xen 0 4.4.4_22-22.51.2
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 qemu 0 2.6.2-41.22.2
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kvm 0 1.4.2-60.3.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 xen 0 4.4.4_22-61.9.2
SUSE:Linux Enterprise Server for SAP Applications 12 xen 0 4.4.4_22-22.51.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 qemu 0 2.3.1-33.3.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 xen 0 4.5.5_14-22.25.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 qemu 0 2.6.2-41.22.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 qemu 0 2.9.0-6.3.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 xen 0 4.4.4_22-61.9.2
SUSE:OpenStack Cloud 6 qemu 0 2.3.1-33.3.3
SUSE:OpenStack Cloud 6 xen 0 4.5.5_14-22.25.1
Ubuntu:14.04:LTS qemu 0 2.0.0+dfsg-2ubuntu1.39
Ubuntu:16.04:LTS qemu 0 1:2.5+dfsg-5ubuntu10.22
Ubuntu:18.04:LTS qemu 0 1:2.11+dfsg-1ubuntu1
Ubuntu:Pro:14.04:LTS qemu 0 No fix
Ubuntu:Pro:16.04:LTS qemu 0 No fix
openSUSE:Tumbleweed qemu 0 6.1.0-32.1

Related vulnerabilities