Bug 14529 - libvirt new security issue CVE-2014-7823
Summary: libvirt new security issue CVE-2014-7823
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 4
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL: http://lwn.net/Vulnerabilities/619822/
Whiteboard: MGA3TOO has_procedure mga4-32-ok mga4...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-11-13 16:34 CET by David Walser
Modified: 2014-11-21 13:45 CET (History)
4 users (show)

See Also:
Source RPM: libvirt-1.2.1-1.2.mga4.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2014-11-13 16:34:39 CET
Ubuntu has issued an advisory on November 11:
http://www.ubuntu.com/usn/usn-2404-1/

Patched packages uploaded for Mageia 3, Mageia 4, and Cauldron.

Advisory:
========================

Updated libvirt packages fix security vulnerability:

Eric Blake discovered that libvirt incorrectly handled permissions when
processing the qemuDomainFormatXML command. An attacker with read-only
privileges could possibly use this to gain access to certain information
from the domain xml file (CVE-2014-7823).

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-7823
http://www.ubuntu.com/usn/usn-2404-1/
========================

Updated packages in core/updates_testing:
========================
libvirt0-1.0.2-8.7.mga3
libvirt-devel-1.0.2-8.7.mga3
python-libvirt-1.0.2-8.7.mga3
libvirt-utils-1.0.2-8.7.mga3
libvirt0-1.2.1-1.3.mga4
libvirt-devel-1.2.1-1.3.mga4
libvirt-utils-1.2.1-1.3.mga4

from SRPMS:
libvirt-1.0.2-8.7.mga3.src.rpm
libvirt-1.2.1-1.3.mga4.src.rpm

Reproducible: 

Steps to Reproduce:
David Walser 2014-11-13 16:34:45 CET

Whiteboard: (none) => MGA3TOO

Comment 1 Rémi Verschelde 2014-11-14 12:12:56 CET
Procedure: https://bugs.mageia.org/show_bug.cgi?id=14192#c7

CC: (none) => remi
Whiteboard: MGA3TOO => MGA3TOO has_procedure

Comment 2 William Kenney 2014-11-14 17:23:35 CET
In VirtualBox, M4, KDE, 32-bit

Package(s) under test:
libvirt-utils python-libvirt

default install of package

[root@localhost wilcal]# urpmi libvirt-utils
Package libvirt-utils-1.2.1-1.2.mga4.i586 is already installed
[root@localhost wilcal]# urpmi python-libvirt
Package python-libvirt-1.2.1-1.mga4.i586 is already installed

MCC -> System -> Manage system services -> Start libvirtd

From the procedure: "virt-manage has an icon in the menu in tools => emulators"

libvertd seems to be running but there is no emulator icon at Menu -> Tools

Test platform:
Intel Core i7-2600K Sandy Bridge 3.4GHz
GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo
GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB
RTL8111/8168B PCI Express 1Gbit Ethernet
DRAM 16GB (4 x 4GB)
Mageia 4 64-bit, Nvidia driver
virtualbox-4.3.10-1.1.mga4.x86_64
virtualbox-guest-additions-4.3.10-1.1.mga4.x86_64

CC: (none) => wilcal.int

Comment 3 claire robinson 2014-11-17 19:16:15 CET
libvirt is the service which virt-manager/qemu interacts with. If virt-manager still connects ok when it starts and the VM's still run then libvirt is OK.
Comment 4 claire robinson 2014-11-17 19:23:20 CET
Testing complete mga4 64

Note: This can be tested at the same time as the qemu & usbredir update in bug 14434

Whiteboard: MGA3TOO has_procedure => MGA3TOO has_procedure mga4-64-ok

Comment 5 olivier charles 2014-11-17 21:12:27 CET
Testing libvirt on Mageia3-64 real HW

with virt-manager-0.9.5-2.mga3 and qemu-1.2.0-8.3.mga3

Current packages :
----------------
# rpm -q lib64virt0 lib64virt-devel python-libvirt
lib64virt0-1.0.2-8.6.mga3
lib64virt-devel-1.0.2-8.6.mga3
python-libvirt-1.0.2-8.6.mga3

# systemctl enable libvirtd
# systemctl start libvirtd
# systemctl status libvirtd
showed libvirtd.service running but with one error.
Reboot =>> no error left.

Installed new guest (crunchbang linux)
No problem.


Updated to testing packages :
---------------------------
- lib64virt-devel-1.0.2-8.7.mga3.x86_64
- lib64virt0-1.0.2-8.7.mga3.x86_64
- libvirt-utils-1.0.2-8.7.mga3.x86_64
- python-libvirt-1.0.2-8.7.mga3.x86_64
Reboot

Connected to former guest
Created a new guest.

All ok

CC: (none) => olchal
Whiteboard: MGA3TOO has_procedure mga4-64-ok => MGA3TOO has_procedure mga4-64-ok MGA3-64-OK

Comment 6 David Walser 2014-11-18 19:11:49 CET
Testing complete Mageia 4 i586.  Used virt-manager to create a new VM based on a VMDK disk from a Virtualbox VM I had originally created by exporting from VMWare.

Whiteboard: MGA3TOO has_procedure mga4-64-ok MGA3-64-OK => MGA3TOO has_procedure mga4-32-ok mga4-64-ok MGA3-64-OK

Comment 7 Rémi Verschelde 2014-11-19 14:21:00 CET
Validating, advisory uploaded.

Keywords: (none) => validated_update
Whiteboard: MGA3TOO has_procedure mga4-32-ok mga4-64-ok MGA3-64-OK => MGA3TOO has_procedure mga4-32-ok mga4-64-ok MGA3-64-OK advisory
CC: (none) => sysadmin-bugs

Comment 8 Mageia Robot 2014-11-21 13:45:42 CET
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGASA-2014-0470.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.