ASA-202101-42: libvirt: arbitrary code execution
Arch Linux Security Advisory ASA-202101-42
=========================================
Severity: Critical
Date : 2021-01-29
CVE-ID : CVE-2020-25637
Package : libvirt
Type : arbitrary code execution
Remote : No
Link : https://security.archlinux.org/AVG-1240
Summary
======
The package libvirt before version 1:7.0.0-1 is vulnerable to arbitrary
code execution.
Resolution
=========
Upgrade to 1:7.0.0-1.
# pacman -Syu "libvirt>=1:7.0.0-1"
The problem has been fixed upstream in version 7.0.0.
Workaround
=========
None.
Description
==========
A double free memory issue was found to occur in the libvirt API
responsible for requesting information about network interfaces of a
running QEMU domain. This flaw affects the polkit access control
driver. Specifically, clients connecting to the read-write socket with
limited ACL permissions could use this flaw to crash the libvirt
daemon, resulting in a denial of service, or potentially escalate their
privileges on the system.
Impact
=====
A malicious user could query the API in a way that could result in a
code execution flaw.
References
=========
https://www.openwall.com/lists/oss-security/2020/10/02/1
https://libvirt.org/git/?p=libvirt.git;a=commit;h?5029bd0ad7ef96000f529ac38204a8f4a96401
https://libvirt.org/git/?p=libvirt.git;a=commit;hP864dcda191eb35732dbd80fb6ca251a6bba923
https://libvirt.org/git/?p=libvirt.git;a=commit;h?116eaa44cb366b59f7fe98f4b88d04c04970ad
https://libvirt.org/git/?p=libvirt.git;a=commit;h?3b48c5ecef077bf0f909a85f453a605600cf05
https://security.archlinux.org/CVE-2020-25637
A libvirt security update has been released for Arch Linux.