CVEfocus › CVE database › CVE-2021-3546

CVE-2021-3546

CVSS 8.2 HighEPSS 0.5% (higher than 32% of CVEs)Published 2021-06-02Updated 2024-08-03Assigner: redhat

An out-of-bounds write vulnerability was found in the virtio vhost-user GPU device (vhost-user-gpu) of QEMU in versions up to and including 6.0. The flaw occurs while processing the 'VIRTIO_GPU_CMD_GET_CAPSET' command from the guest. It could allow a privileged guest user to crash the QEMU process on the host, resulting in a denial of service condition, or potential code execution with the privileges of the QEMU process.

CWE-787

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
1Fix pending
56Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04qemuFixed1:6.2+dfsg-2ubuntu5UBUNTU-CVE-2021-3546
Ubuntu 20.04qemuFixed1:4.2-3ubuntu6.17UBUNTU-CVE-2021-3546
Ubuntu 16.04qemuFix pending
Debian 14qemuFixed1:6.1+dfsg-1DEBIAN-CVE-2021-3546
Debian 13qemuFixed1:6.1+dfsg-1DEBIAN-CVE-2021-3546
Debian 12qemuFixed1:6.1+dfsg-1DEBIAN-CVE-2021-3546
Red Hat Enterprise Linux 9qemu-guest-agentNot affected
Red Hat Enterprise Linux 9qemu-imgNot affected
Red Hat Enterprise Linux 9qemu-kvmNot affected
Red Hat Enterprise Linux 9qemu-kvm-audio-paNot affected
Red Hat Enterprise Linux 9qemu-kvm-block-blkioNot affected
Red Hat Enterprise Linux 9qemu-kvm-block-curlNot affected
Red Hat Enterprise Linux 9qemu-kvm-block-rbdNot affected
Red Hat Enterprise Linux 9qemu-kvm-commonNot affected
Red Hat Enterprise Linux 9qemu-kvm-coreNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpuNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-ccwNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-glNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-pciNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-pci-glNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-vgaNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-vga-glNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-usb-hostNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-usb-redirectNot affected
Red Hat Enterprise Linux 9qemu-kvm-docsNot affected
Red Hat Enterprise Linux 9qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 9qemu-kvm-ui-egl-headlessNot affected
Red Hat Enterprise Linux 9qemu-kvm-ui-openglNot affected
Red Hat Enterprise Linux 9qemu-pr-helperNot affected
Red Hat Enterprise Linux 8qemu-guest-agentNot affected
Red Hat Enterprise Linux 8qemu-imgNot affected
Red Hat Enterprise Linux 8qemu-kvmNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-curlNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-glusterNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-iscsiNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-rbdNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-sshNot affected
Red Hat Enterprise Linux 8qemu-kvm-commonNot affected
Red Hat Enterprise Linux 8qemu-kvm-coreNot affected
Red Hat Enterprise Linux 8qemu-kvm-docsNot affected
Red Hat Enterprise Linux 8qemu-kvm-hw-usbredirNot affected
Red Hat Enterprise Linux 8qemu-kvm-testsNot affected
Red Hat Enterprise Linux 8qemu-kvm-ui-openglNot affected
Red Hat Enterprise Linux 8qemu-kvm-ui-spiceNot affected
Red Hat Enterprise Linux 7libcacardNot affected
Red Hat Enterprise Linux 7libcacard-develNot affected
Red Hat Enterprise Linux 7libcacard-toolsNot affected
Red Hat Enterprise Linux 7qemu-guest-agentNot affected
Red Hat Enterprise Linux 7qemu-imgNot affected
Red Hat Enterprise Linux 7qemu-img-maNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-commonNot affected
Red Hat Enterprise Linux 7qemu-kvm-common-maNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 7qemu-kvm-rhevNot affected
Red Hat Enterprise Linux 7qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 7qemu-kvm-tools-maNot affected
Red Hat Enterprise Linux 6qemu-guest-agentNot affected
Red Hat Enterprise Linux 6qemu-guest-agent-win32Not affected
Red Hat Enterprise Linux 6qemu-imgNot affected
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 6qemu-kvm-toolsNot affected
Alpine Linux 3.24qemuFixed6.1.0-r0ALPINE-CVE-2021-3546
Alpine Linux 3.23qemuFixed6.1.0-r0ALPINE-CVE-2021-3546
Alpine Linux 3.22qemuFixed6.1.0-r0ALPINE-CVE-2021-3546
Alpine Linux 3.21qemuFixed6.1.0-r0ALPINE-CVE-2021-3546
Alpine Linux 3.20qemuFixed6.1.0-r0ALPINE-CVE-2021-3546
Alpine Linux 3.19qemuFixed6.1.0-r0ALPINE-CVE-2021-3546
Alpine Linux 3.18qemuFixed6.1.0-r0ALPINE-CVE-2021-3546
Alpine Linux 3.17qemuFixed6.1.0-r0ALPINE-CVE-2021-3546
Alpine Linux 3.16qemuFixed6.1.0-r0ALPINE-CVE-2021-3546

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.