Name | CVE-2022-4172 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1025123 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
qemu (PTS) | jessie, jessie (lts) | 1:2.1+dfsg-12+deb8u23 | fixed |
| stretch (security) | 1:2.8+dfsg-6+deb9u17 | fixed |
| stretch (lts), stretch | 1:2.8+dfsg-6+deb9u19 | fixed |
| buster (security), buster, buster (lts) | 1:3.1+dfsg-8+deb10u12 | fixed |
| bullseye | 1:5.2+dfsg-11+deb11u3 | fixed |
| bullseye (security) | 1:5.2+dfsg-11+deb11u2 | fixed |
| bookworm | 1:7.2+dfsg-7+deb12u7 | fixed |
| sid, trixie | 1:9.1.1+ds-5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
qemu | source | jessie | (not affected) | | | |
qemu | source | stretch | (not affected) | | | |
qemu | source | buster | (not affected) | | | |
qemu | source | bullseye | (not affected) | | | |
qemu | source | (unstable) | 1:7.2+dfsg-1 | | | 1025123 |
Notes
[bullseye] - qemu <not-affected> (Vulnerable code introduced later)
[buster] - qemu <not-affected> (Vulnerable code introduced later)
https://gitlab.com/qemu-project/qemu/-/issues/1268
Introduced by: https://gitlab.com/qemu-project/qemu/-/commit/f7e26ffa590ff26b4c6a2c513ad9ba1e6156f5b8 (v7.0.0-rc0)
Fixed by: https://gitlab.com/qemu-project/qemu/-/commit/defb70980f6bed36100b74e84220f1764c0dd544 (v7.2.0-rc0)
https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk@c--e.de/
[stretch] - qemu <not-affected> (Vulnerable code introduced later)
[jessie] - qemu <not-affected> (Vulnerable code introduced later)