Memory Leak Affecting virt:rhel/sgabios package, versions <1:0.20170427git-3.module+el8.1.0+4066+0f1aadab


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (19th 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 Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-VIRT-4782742
  • published26 Jul 2021
  • disclosed17 Sept 2019

Introduced: 17 Sep 2019

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

How to fix?

Upgrade RHEL:8 virt:rhel/sgabios to version 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab or higher.
This issue was patched in RHSA-2020:2774.

NVD Description

Note: Versions mentioned in the description apply only to the upstream virt:rhel/sgabios package and not the virt:rhel/sgabios package as distributed by RHEL. See How to fix? for RHEL:8 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 Scores

version 3.1