Use After Free Affecting qemu-img package, versions <15:4.2.1-11.el7


Severity

Recommended
high

Based on Oracle 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE7-QEMUIMG-2600387
  • published10 Apr 2022
  • disclosed23 Mar 2021

Introduced: 23 Mar 2021

CVE-2021-3392  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Oracle:7 qemu-img to version 15:4.2.1-11.el7 or higher.
This issue was patched in ELSA-2021-9425.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu-img package and not the qemu-img package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1