Use After Free Affecting qemu-guest-agent package, versions <10:3.1.0-8.amzn2.0.10


Severity

Recommended
medium

Based on Amazon 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-AMZN2-QEMUGUESTAGENT-5663526
  • 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 qemu-guest-agent 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 qemu-guest-agent package and not the qemu-guest-agent 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 Scores

version 3.1