BugTraq
[USN-1008-2] Virtinst update Oct 22 2010 12:53AM
Jamie Strandboge (jamie canonical com)
===========================================================
Ubuntu Security Notice USN-1008-2 October 21, 2010
virtinst update
https://launchpad.net/bugs/655392
===========================================================

A security issue affects the following Ubuntu releases:

Ubuntu 10.04 LTS

This advisory also applies to the corresponding versions of
Kubuntu, Edubuntu, and Xubuntu.

The problem can be corrected by upgrading your system to the
following package versions:

Ubuntu 10.04 LTS:
virtinst 0.500.1-2ubuntu6.1

In general, a standard system update will make all the necessary changes.

Details follow:

Libvirt in Ubuntu 10.04 LTS now no longer probes qemu disks for the image
format and defaults to 'raw' when the format is not specified in the XML.
This change in behavior breaks virt-install --import because virtinst in
Ubuntu 10.04 LTS did not allow for specifying a disk format and does not
specify a format in the XML. This update adds the 'format=' option when
specifying a disk. For example, to import an existing VM which uses a qcow2
disk format, use somthing like the following:

virt-install --connect=qemu:///session --name test-import --ram=256 --disk path=<path to qcow2 image>,format=qcow2 --import

For more information, see man 1 virt-install.

Original advisory details:

It was discovered that libvirt would probe disk backing stores without
consulting the defined format for the disk. A privileged attacker in the
guest could exploit this to read arbitrary files on the host. This issue
only affected Ubuntu 10.04 LTS. By default, guests are confined by an
AppArmor profile which provided partial protection against this flaw.
(CVE-2010-2237, CVE-2010-2238)

It was discovered that libvirt would create new VMs without setting a
backing store format. A privileged attacker in the guest could exploit this
to read arbitrary files on the host. This issue did not affect Ubuntu 8.04
LTS. In Ubuntu 9.10 and later guests are confined by an AppArmor profile
which provided partial protection against this flaw. (CVE-2010-2239)

Jeremy Nickurak discovered that libvirt created iptables rules with too
lenient mappings of source ports. A privileged attacker in the guest could
bypass intended restrictions to access privileged resources on the host.
(CVE-2010-2242)

Updated packages for Ubuntu 10.04 LTS:

Source archives:

http://security.ubuntu.com/ubuntu/pool/main/v/virtinst/virtinst_0.500.1-
2ubuntu6.1.diff.gz
Size/MD5: 11109 9e7424ceeab64e557fb589496aac69e9
http://security.ubuntu.com/ubuntu/pool/main/v/virtinst/virtinst_0.500.1-
2ubuntu6.1.dsc
Size/MD5: 2155 58fffa8f010cd5d3c8b3a709da9e1311
http://security.ubuntu.com/ubuntu/pool/main/v/virtinst/virtinst_0.500.1.
orig.tar.gz
Size/MD5: 428911 f87ccfe2b77823c9e06d32e8b6f20424

Architecture independent packages:

http://security.ubuntu.com/ubuntu/pool/main/v/virtinst/python-virtinst_0
.500.1-2ubuntu6.1_all.deb
Size/MD5: 1564 402d23ff10bc82ffaec3554c883399ea
http://security.ubuntu.com/ubuntu/pool/main/v/virtinst/virtinst_0.500.1-
2ubuntu6.1_all.deb
Size/MD5: 230728 a958ec144ad1a7bdb3e4e1c25173fcdf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJMwOBxAAoJEFHb3FjMVZVz5sIP/A1FOJRKVt6EOXBJRSJKd7V7
GyG+OCpD6J6o6TPTcz71k3tbxEoVGqKklejtUsbnaEyxv1aJ2fPSncL/ddv8U+qm
KrTS5d93n9pK/6mBRCIU+qWuh1duDjdCPh778cJGdqHGs6zCaaMjiwdQHu3r5q0F
N/WC56VTKGU/phaEgMgG9rnRweg7SMp/bA/wf0Hb+kOc3BKSdBUE+LRss8nXXKbe
lBnYnRaKgq0h+PquzRWden54Ma6gvIPLs1FhPJ0RIqwEVMb5Zk3qjLQ36nX6G4wI
uwh6ubcBvtkEfCEyxgwWyGKGMX5Pmz78h6xMUvmmf0xkfmmNBNSqjMaf0EsT3q44
G8xkgqDPT/NRDxXfKj2NFRRRn6PJe2fd+MvG1XqTxJBnnbNPapI5guy8GXGQtuMG
5ErOCP2Fb+omXzSdqs97s1y0DWDk1iic4a7Cw5+92bShSiowSFEnaQt8m+clDNJe
RRtzi1CsVodc2NIr/Mr5ufAmFYfmx36LbfjLOqxAVjuhvnJJVcHj+5W038te6Mg9
LvyrbjDspQ2yZm9wKVAj+KyoIVwsl1z2f0nS3dPngw5xeQLehdyoCSSy56fIncIg
is+moh3Ft4dW1KMphM2NkNRXBzGI7iw38ftx7dpe2/tD2SEH+l/+FZ0QE+nXVv9n
bPBga/6+pPGLWjKZxxim
=H62S
-----END PGP SIGNATURE-----

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus