Use After Free Affecting qemu-project/qemu package, versions [,6.0.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (45th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-QEMUPROJECTQEMU-2440680
  • published5 Apr 2022
  • disclosed28 Mar 2022
  • creditMuhammad Alifa Ramdhan (@n0psledbyte)

Introduced: 28 Mar 2022

CVE-2022-0216  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade qemu-project/qemu to version 6.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the lsi_do_msgout function in hw/scsi/lsi53c895a.c (LSI53C895A SCSI Host Bus Adapter emulation of QEMU). The flaw occurs while processing repeated messages to cancel the current SCSI request via the lsi_do_msgout function. This flaw allows a malicious privileged user within the guest to crash the QEMU process on the host, resulting in a denial of service.

CVSS Scores

version 3.1