Integer Overflow or Wraparound Affecting qemu-kvm-ui-opengl package, versions <15:6.2.0-11.module+el8.6.0+15668+464a1f31.2


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.12% (32nd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS8-QEMUKVMUIOPENGL-2834392
  • published2 Apr 2022
  • disclosed28 Mar 2022

Introduced: 28 Mar 2022

CVE-2021-4206  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Centos:8 qemu-kvm-ui-opengl to version 15:6.2.0-11.module+el8.6.0+15668+464a1f31.2 or higher.

NVD Description

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

A flaw was found in the QXL display device emulation in QEMU. An integer overflow in the cursor_alloc() function can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. This flaw allows a malicious privileged guest user to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.

CVSS Base Scores

version 3.1