Vulnerability Details : 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 category: Overflow
Products affected by CVE-2022-4172
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:7.0.0:-:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-4172
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 32 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-4172
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
2.0
|
4.0
|
NIST |
CWE ids for CVE-2022-4172
-
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.Assigned by: secalert@redhat.com (Primary)
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by: secalert@redhat.com (Primary)
References for CVE-2022-4172
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I7J5IRXJYLELW7D43A75LOWRUE5EU54O/
[SECURITY] Fedora 37 Update: qemu-7.0.0-12.fc37 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://gitlab.com/qemu-project/qemu/-/issues/1268
erst: undefined-behavior in memcpy in write_erst_record (#1268) · Issues · QEMU / QEMU · GitLabExploit;Issue Tracking;Third Party Advisory
-
https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk@c--e.de/
[PATCH v2] hw/acpi/erst.c: Fix memory handling issues - Christian A. EhrhardtPatch;Vendor Advisory
-
https://security.netapp.com/advisory/ntap-20230127-0013/
CVE-2022-4172 QEMU Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://gitlab.com/qemu-project/qemu/-/commit/defb7098
hw/acpi/erst.c: Fix memory handling issues (defb7098) · Commits · QEMU / QEMU · GitLabPatch;Third Party Advisory
Jump to