Integer Overflow or Wraparound Affecting qemu-img package, versions <15:4.2.1-4.el7


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.04% (5th 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-ORACLE7-QEMUIMG-2596328
  • published10 Apr 2022
  • disclosed31 Aug 2020

Introduced: 31 Aug 2020

CVE-2020-12829  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Oracle:7 qemu-img to version 15:4.2.1-4.el7 or higher.
This issue was patched in ELSA-2021-9034.

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:7 relevant fixed versions and status.

In QEMU through 5.0.0, an integer overflow was found in the SM501 display driver implementation. This flaw occurs in the COPY_AREA macro while handling MMIO write operations through the sm501_2d_engine_write() callback. A local attacker could abuse this flaw to crash the QEMU process in sm501_2d_operation() in hw/display/sm501.c on the host, resulting in a denial of service.

CVSS Scores

version 3.1