Out-of-bounds Write Affecting qemu-guest-agent package, versions <10:3.1.0-8.amzn2.0.8


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (5th 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-QEMUGUESTAGENT-1700818
  • published27 Sept 2021
  • disclosed8 Dec 2020

Introduced: 8 Dec 2020

CVE-2020-27821  (opens in a new tab)
CWE-787  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 qemu-guest-agent to version 10:3.1.0-8.amzn2.0.8 or higher.
This issue was patched in ALAS2-2021-1671.

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 flaw was found in the memory management API of QEMU during the initialization of a memory region cache. This issue could lead to an out-of-bounds write access to the MSI-X table while performing MMIO operations. A guest user may abuse this flaw to crash the QEMU process on the host, resulting in a denial of service. This flaw affects QEMU versions prior to 5.2.0.

CVSS Scores

version 3.1