Buffer overflow in Qemu
CVE-2022-4172
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 34.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Qemu — versions 7.0.0
- Fedoraproject Fedora — versions 37
- Qemu (Acpi Erst) — versions Affected: 7.0.0, Fixed: 7.2.0-rc0
Weakness classification (CWE)
References
- lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk@c--e.de/
- gitlab.com/qemu-project/qemu/-/issues/1268 (Exploit, Third Party Advisory, Issue Tracking)
- gitlab.com/qemu-project/qemu/-/commit/defb7098 (Patch, Third Party Advisory)
- FEDORA-2022-22b1f8dae2 (vendor-advisory)
- security.netapp.com/advisory/ntap-20230127-0013/ (Third Party Advisory)