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 (31.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 31st percentile — 31.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
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)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.netapp.com/advisory/ntap-20230127-0013/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-4172?
- CVE-2022-4172 is a medium-severity vulnerability in Qemu, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 6.5/10. Published 2022-11-29.
- How severe is CVE-2022-4172?
- Medium severity. CVSS v3 base score is 6.5 out of 10.