Buffer Overflow Affecting qemu-img package, versions <15:4.2.1-24.module+el8.7.0+20894+2d7709ab


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE8-QEMUIMG-3316857
  • published24 Jan 2023
  • disclosed29 Nov 2022

Introduced: 29 Nov 2022

CVE-2022-4172  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Oracle:8 qemu-img to version 15:4.2.1-24.module+el8.7.0+20894+2d7709ab or higher.
This issue was patched in ELSA-2023-12108.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu-img package and not the qemu-img package as distributed by Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1