Buffer Overflow Affecting virt:rhel/libguestfs-tools-c package, versions <1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.08% (35th 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-ALMALINUX8-VIRT-5611996
  • published28 May 2023
  • disclosed2 Aug 2022

Introduced: 2 Aug 2022

CVE-2021-4207  (opens in a new tab)
CWE-120  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 virt:rhel/libguestfs-tools-c to version 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma or higher.
This issue was patched in ALSA-2022:5821.

NVD Description

Note: Versions mentioned in the description apply only to the upstream virt:rhel/libguestfs-tools-c package and not the virt:rhel/libguestfs-tools-c package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

A flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values cursor-&gt;header.width and cursor-&gt;header.height can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. A malicious privileged guest user could use this flaw to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.

CVSS Scores

version 3.1