Memory Leak Affecting qemu-img package, versions <15:2.12.0-99.module+el8.2.0+6870+55b789b4.2


Severity

Recommended
high

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-CENTOS8-QEMUIMG-2042572
  • published 26 Jul 2021
  • disclosed 17 Sep 2019

How to fix?

Upgrade Centos:8 qemu-img to version 15:2.12.0-99.module+el8.2.0+6870+55b789b4.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu-img package and not the qemu-img package as distributed by Centos. See How to fix? for Centos: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
Expand this section

NVD

3.5 low
  • Attack Vector (AV)
    Adjacent
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    Low
Expand this section

Red Hat

3.5 low
Expand this section

SUSE

6.5 medium