Vulnerability · Published Jun 2, 2021 · Assigned by redhat
CVE-2021-3546
High 8.2
In plain English
A high-severity out-of-bounds write in QEMU. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | qemu | 6.1.0-r0 | ALPINE-CVE-2021-3546 |
| Alpine:v3.21 | qemu | 6.1.0-r0 | ALPINE-CVE-2021-3546 |
| Alpine:v3.22 | qemu | 6.1.0-r0 | ALPINE-CVE-2021-3546 |
| Alpine:v3.23 | qemu | 6.1.0-r0 | ALPINE-CVE-2021-3546 |
| Alpine:v3.24 | qemu | 6.1.0-r0 | ALPINE-CVE-2021-3546 |
| Debian:12 | qemu | 1:6.1+dfsg-1 | DEBIAN-CVE-2021-3546 |
| Debian:13 | qemu | 1:6.1+dfsg-1 | DEBIAN-CVE-2021-3546 |
| Debian:14 | qemu | 1:6.1+dfsg-1 | DEBIAN-CVE-2021-3546 |
| Ubuntu:22.04:LTS | qemu | 1:6.2+dfsg-2ubuntu5 | UBUNTU-CVE-2021-3546 |
Affected products (as reported)
Weakness: CWE-787
References
- [oss-security] 20210531 QEMU: security issues in vhost-user-gpu mailing-list, x_refsource_MLIST
- https://bugzilla.redhat.com/show_bug.cgi?id=1958978 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210720-0008/ x_refsource_CONFIRM
- DSA-4980 vendor-advisory, x_refsource_DEBIAN
- GLSA-202208-27 vendor-advisory, x_refsource_GENTOO