Memory Leak Affecting qemu-kvm package, versions <10:3.1.0-8.amzn2.0.5


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.87% (54th 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-QEMUKVM-1689853
  • published27 Sept 2021
  • disclosed5 Mar 2020

Introduced: 5 Mar 2020

CVE-2019-20382  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 qemu-kvm to version 10:3.1.0-8.amzn2.0.5 or higher.
This issue was patched in ALAS2-2020-1562.

NVD Description

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

QEMU 4.1.0 has a memory leak in zrle_compress_data in ui/vnc-enc-zrle.c during a VNC disconnect operation because libz is misused, resulting in a situation where memory allocated in deflateInit2 is not freed in deflateEnd.

CVSS Base Scores

version 3.1