Privilege Escalation in libvirt Package

libvirt Updated 02 Oct 2025

Summary

03/12/2020
N/A
Yes i
High
8.8

CVE-2020-14339: A flaw was found in libvirt, where it leaked a file descriptor for /dev/mapper/control into the QEMU process. Affects libvirt across 2 version ranges.

< 6.6.0-r0 >= 07bb8ff4dd0ca0224754c582390f4a873597c4b9, < 88f45e72688cec14eb58bbdb120336bbaa36a1fc

Fixed in 6.6.0-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The libvirt package is a library that provides a high-level API for managing virtualization technologies, such as KVM, QEMU, Xen, and LXC. It allows users to create, configure, and control virtual machines and containers. This vulnerability affects the libvirt package in the Alpine Linux v3.12 ecosystem.

Vulnerability Detail

A flaw was discovered in libvirt that results in a file descriptor leak for the /dev/mapper/control device into the QEMU process. This leaked file descriptor enables privileged operations on the host's device-mapper. Exploiting this vulnerability, a malicious guest user or process can perform actions beyond their authorized permissions, potentially causing severe damage to the host operating system. The vulnerability's CVSS score is 8.8, indicating a high severity level with potential impacts on confidentiality, integrity, and system availability.

How To Fix

Minimum fixed version

6.6.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade libvirt

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround available for this vulnerability at the moment.

Conclusion

The libvirt package in the Alpine Linux v3.12 ecosystem is vulnerable to a privilege escalation flaw. It is crucial to update the package to version 6.6.0-r0 or later to mitigate the risk. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libvirt →

Share this vulnerability

FAQ

Libvirt is a library that provides a high-level API for managing virtualization technologies, allowing users to create, configure, and control virtual machines and containers.

This vulnerability allows a malicious guest user or process to perform privileged operations on the host's device-mapper, potentially causing serious damage to the host operating system.

The CVSS score of this vulnerability is 8.8, indicating a high severity level.

To fix this vulnerability, update the libvirt package to version 6.6.0-r0 or later using the package manager of your Linux distribution.

No, there is currently no known workaround for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for libvirt.

How To Fix

Minimum fixed version

6.6.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade libvirt

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback