Memory Leak Affecting libvirt package, versions <6.4.0-2


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.13% (48th 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-DEBIAN12-LIBVIRT-1551323
  • published29 Apr 2020
  • disclosed28 Apr 2020

Introduced: 28 Apr 2020

CVE-2020-12430  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Debian:12 libvirt to version 6.4.0-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libvirt package and not the libvirt package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

An issue was discovered in qemuDomainGetStatsIOThread in qemu/qemu_driver.c in libvirt 4.10.0 though 6.x before 6.1.0. A memory leak was found in the virDomainListGetStats libvirt API that is responsible for retrieving domain statistics when managing QEMU guests. This flaw allows unprivileged users with a read-only connection to cause a memory leak in the domstats command, resulting in a potential denial of service.

CVSS Scores

version 3.1