Use After Free Affecting ivshmem-tools package, versions <10:3.1.0-8.amzn2.0.10


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.45% (36th 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-AMZN2-IVSHMEMTOOLS-5663327
  • published1 Jun 2023
  • 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 Amazon-Linux:2 ivshmem-tools to version 10:3.1.0-8.amzn2.0.10 or higher.
This issue was patched in ALAS2-2023-2061.

NVD Description

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

version 3.1