Buffer Overflow Affecting swtpm-debuginfo package, versions <0:0.7.0-1.20211109gitb79fd91.module+el8.6.0+847+b490afdd


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.06% (26th 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-ROCKY8-SWTPMDEBUGINFO-3229846
  • published14 Jan 2023
  • disclosed29 Apr 2022

Introduced: 29 Apr 2022

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

How to fix?

Upgrade Rocky-Linux:8 swtpm-debuginfo to version 0:0.7.0-1.20211109gitb79fd91.module+el8.6.0+847+b490afdd or higher.
This issue was patched in RLSA-2022:5821.

NVD Description

Note: Versions mentioned in the description apply only to the upstream swtpm-debuginfo package and not the swtpm-debuginfo package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux: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 Scores

version 3.1