CVE-2022-4172 json
An integer overflow and buffer overflow issues were found in the ACPI Error Record Serialization Table (ERST) device of QEMU in the read_er…
published 3y ago modified 4mo ago also EUVD-2022-51533
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- qemu Debian 14, Debian 13, Debian 12 1:7.2+dfsg-1
debian advisories DEBIAN-CVE-2022-4172
- qemu-kvm RHEL 9 17:7.2.0-14.el9_2
- qemu-img RHEL 9 17:7.2.0-14.el9_2
- qemu-kvm-core RHEL 9 17:7.2.0-14.el9_2
- qemu-kvm-tools RHEL 9 17:7.2.0-14.el9_2
- qemu-pr-helper RHEL 9 17:7.2.0-14.el9_2
- qemu-kvm-common RHEL 9 17:7.2.0-14.el9_2
- qemu-guest-agent RHEL 9 17:7.2.0-14.el9_2
- qemu-kvm-audio-pa RHEL 9 17:7.2.0-14.el9_2
red hat advisories RHSA-2023:2162
- qemu openSUSE Tumbleweed 7.1.0-10.1
opensuse advisories openSUSE-SU-2024:12685-1
- qemu-kvm AlmaLinux 9 17:7.2.0-14.el9_2
- qemu-img AlmaLinux 9 17:7.2.0-14.el9_2
- qemu-kvm-core AlmaLinux 9 17:7.2.0-14.el9_2
- qemu-kvm-tools AlmaLinux 9 17:7.2.0-14.el9_2
- qemu-pr-helper AlmaLinux 9 17:7.2.0-14.el9_2
- qemu-kvm-common AlmaLinux 9 17:7.2.0-14.el9_2
- qemu-guest-agent AlmaLinux 9 17:7.2.0-14.el9_2
- qemu-kvm-audio-pa AlmaLinux 9 17:7.2.0-14.el9_2
almalinux advisories ALSA-2023:2162
Is CVE-2022-4172 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-4172 updated cvss 6.0
QEMU: ACPI ERST: memory corruption issues in read_erst_record and write_erst_record
-
Red Hat Enterprise Linux AppStream (v. 9) qemu-img 7.2.0-14.el9_2, qemu-kvm 7.2.0-14.el9_2, qemu-kvm-core 7.2.0-14.el9_2, qemu-kvm-tools 7.2.0-14.el9_2, qemu-pr-helper 7.2.0-14.el9_2, qemu-kvm-common 7.2.0-14.el9_2, +12 morefixed: vendor fix RHSA-2023:2162
-
Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-img-ma, qemu-kvm-ma, qemu-kvm-tools, +5 more Red Hat Enterprise Linux 8 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, qemu-guest-agent, +8 more Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 more Red Hat OpenStack Platform 13 (Queens) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhevnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- gitlab.com https://gitlab.com/qemu-project/qemu/-/issues/1268 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
Affected products
- n/a QEMU (ACPI ERST)
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
References
-
gitlab.com
/qemu-project/qemu/-/commit/defb7098
patch, third-party-advisory
-
gitlab.com
/qemu-project/qemu/-/issues/1268
exploit, issue-tracking, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/I7J5IRXJYLELW7D43A75LOWRUE5EU54O/
vendor-advisory
- lore.kernel.org /qemu-devel/20221024154233.1043347-1-lk%40c--e.de/
-
security.netapp.com
/advisory/ntap-20230127-0013/
third-party-advisory
Sources
- CVE List CVE-2022-4172
- NVD CVE-2022-4172
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.