Vulnerability · Published Nov 29, 2022 · Assigned by redhat

CVE-2022-4172

Medium 6.5

In plain English

A medium-severity buffer overflow in QEMU (ACPI ERST). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 65.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

An integer overflow and buffer overflow issues were found in the ACPI Error Record Serialization Table (ERST) device of QEMU in the read_erst_record() and write_erst_record() functions. Both issues may allow the guest to overrun the host buffer allocated for the ERST memory device. A malicious guest could use these flaws to crash the QEMU process on the host.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9qemu-guest-agent17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-img17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-audio-pa17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-block-curl17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-block-rbd17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-common17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-core17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-device-display-virtio-gpu17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-device-display-virtio-gpu-ccw17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-device-display-virtio-gpu-pci17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-device-display-virtio-vga17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-device-usb-host17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-device-usb-redirect17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-docs17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-tools17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-ui-egl-headless17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-kvm-ui-opengl17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux:9qemu-pr-helper17:7.2.0-14.el9_2ALSA-2023:2162
Debian:12qemu1:7.2+dfsg-1DEBIAN-CVE-2022-4172
Debian:13qemu1:7.2+dfsg-1DEBIAN-CVE-2022-4172
Debian:14qemu1:7.2+dfsg-1DEBIAN-CVE-2022-4172
Ubuntu:22.04:LTSqemu1:6.2+dfsg-2ubuntu6.11USN-6167-1
Ubuntu:22.04:LTSqemu1:6.2+dfsg-2ubuntu6.6UBUNTU-CVE-2022-4172

Affected products (as reported)

VendorProductVersions
n/a QEMU (ACPI ERST) Affected: 7.0.0, Fixed: 7.2.0-rc0

Weakness: CWE-120 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

References