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


Severity

Recommended
0.0
low
0
10

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

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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-QEMUPROJECTQEMU-3006985
  • published26 Jan 2022
  • disclosed23 Mar 2021
  • creditUnknown

Introduced: 23 Mar 2021

CVE-2021-3392  (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. A use-after-free flaw was found in the MegaRAID emulator of QEMU. This issue occurs while processing SCSI I/O requests in the case of an error mptsas_free_request() that does not dequeue the request object 'req' from a pending requests queue. This flaw allows a privileged guest user to crash the QEMU process on the host, resulting in a denial of service. Versions between 2.10.0 and 5.2.0 are potentially affected.

References

CVSS Scores

version 3.1