Skip to navigation

Security Advisory Moderate: openstack-nova security, bug fix, and enhancement update

Advisory: RHSA-2013:0657-1
Type: Security Advisory
Severity: Moderate
Issued on: 2013-03-21
Last updated on: 2013-03-21
Affected Products: Red Hat OpenStack Folsom
CVEs (cve.mitre.org): CVE-2013-1664
CVE-2013-1665

Details

Updated openstack-nova packages that fix two security issues, several bugs,
and add an enhancement are now available for Red Hat OpenStack Folsom.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

The openstack-nova packages provide OpenStack Compute (code name Nova),
which provides services for provisioning, managing, and using virtual
machine instances.

A denial of service flaw was found in the Extensible Markup Language (XML)
parser used by Nova. A remote attacker could use this flaw to send a
specially-crafted request to a Nova API, causing Nova to consume an
excessive amount of CPU and memory. (CVE-2013-1664)

A flaw was found in the XML parser used by Nova. If a remote attacker
sent a specially-crafted request to a Nova API, it could cause Nova to
connect to external entities, causing a large amount of system load, or
allow an attacker to read files on the Nova server that are accessible to
the user running Nova. (CVE-2013-1665)

This update also fixes several bugs. The following are noteworthy changes:

* In single node, all-in-one environments where all services (such as
Nova, Glance, and Keystone) are installed and run on a single system, after
a host reboot, some instances may have automatically started again, but
soon after, automatically shut down. "Instance shutdown by itself. Calling
the stop API" messages were logged to Nova logs (in "/var/log/nova/") in
these cases. (BZ#890512)

* In environments using Quantum, after creating a network with two
subnets, removing an IP address (using "nova remove-fixed-ip"), and then
adding a fixed address (using "nova add-fixed-ip"), resulted in the
virtual machine having two IP addresses. (BZ#908373)

* Prior to this update, after converting a downloaded image to raw, the
original, downloaded image (a large .part file) was not removed. After
installing this update, the following three options must be configured in
"/etc/nova/nova.conf" to correctly resolve this issue:

remove_unused_base_images=true
remove_unused_resized_minimum_age_seconds=60
remove_unused_original_minimum_age_seconds=60

(BZ#911103)

Additionally, this update adds the following enhancement:

* The RHSA-2013:0658 openstack-cinder update implemented a Cinder driver
that allows Red Hat Storage to be used as a back-end for Cinder volumes.
This update adds a libvirt connector to Nova, which is a requirement for
using the new Cinder driver. Note that you must manually install the
glusterfs and glusterfs-fuse packages on the Nova nodes.

Additionally, when running Security-Enhanced Linux (SELinux) in Enforcing
mode, the latest selinux-policy packages provided by RHBA-2013:0618 must be
installed, otherwise denials will be logged when attempting to mount Red
Hat Storage volumes. (BZ#912384)

All users of openstack-nova are advised to upgrade to these updated
packages, which correct these issues and add this enhancement. After
installing the updated packages, the Nova running services will be
restarted automatically.


Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

Updated packages

Red Hat OpenStack Folsom

SRPMS:
openstack-nova-2012.2.3-4.el6ost.src.rpm
File outdated by:  RHBA-2013:0798
    MD5: 4bc7c82efd8796d253b2874f23295406
SHA-256: cdaeabb8849ee5eb833f5c64ada20faecae442aabd4f854d376ae5887458d119
 
x86_64:
openstack-nova-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: a873d9af7d4dfb304fd09018f0d39ae0
SHA-256: 94fb29185aaca09385b2a1bd8378457546678b0ee55b3b3a25725df592278f2c
openstack-nova-api-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: 471c2201e115ad22863d28123dca5dc4
SHA-256: 859e9c1f4540964277c003bf4032c80a425c8ea04582cd10fc042d217bb55fc3
openstack-nova-cert-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: 423c625478e52dacf99a73b6cff96aeb
SHA-256: baf1e926407038e4896705d593dbd80846a379fed116d357785fefb219810874
openstack-nova-common-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: 9e617d4fce32479550c5f22352bec839
SHA-256: 10bed0bfc9440c7e105d180d7267d4556349995e6694fc1a70ea505ec98a5ab5
openstack-nova-compute-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: c3e3632e6538b8854f860eefbea65e94
SHA-256: 2513f06d646ba0dd181f2098dcc40976e6b7f9dabb4868a4cea3a2ba0a42ea3e
openstack-nova-console-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: 31aa6001c1499cc19908f210e7cfccc2
SHA-256: 99621c30a3cfa71813018231737f42895ac3e2259907e7ab9dba3bdf78ad9344
openstack-nova-doc-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: e2801da680f2c763ea30d57b1dbd51e9
SHA-256: 37593514bf147797b78d1c8313c26dff28ada7dd42697099fbc7b27d3568f696
openstack-nova-network-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: 9de8da8b14d31af7c1c8ad9adf0c0cb9
SHA-256: 5c42d76715e3257136924ea8aa44eaa76edafcb6e35c616c044472dcc4f8f840
openstack-nova-objectstore-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: 0cb9445076be7d0df74b6b048f9fa2d4
SHA-256: deaba5bc39c0d996a62105c655b2628e318ce35d99db82fb40e96469a1ac10c9
openstack-nova-scheduler-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: dd91a3f20a33e5b26c04c677f1e92916
SHA-256: e3fb2d35f6ed5b7bd7c42fa7dbecf87c2381ece4a37f931602b52991230156e9
openstack-nova-volume-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: 422b1756d46fefcdcf6910a5fa93e11d
SHA-256: 690691789d3484927140d059412477a60ecf827747c636c5f262b815a87ce256
python-nova-2012.2.3-4.el6ost.noarch.rpm
File outdated by:  RHBA-2013:0798
    MD5: bd04443f639ac6b4ac0f522126df1e6b
SHA-256: f9d2a9e0f15d94f6e996fa98a8a3f365d4cd4cca7bede685501a3f11cfbf4edb
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

889868 - dnsmasq DHCP request blocked by default firewall rules
890512 - Some Instances are shutoff after host reboot
891347 - Use fallocate when copying disk images around in _base to improve copy performance and out of space errors
891420 - Change default for compute node to poll for database connection indefinitely
902409 - Network disassociation from a project doesn't work
905113 - Backport qpid_hosts option - nova
906783 - Quantum/Nova does not work with nova.virt.firewall.NoopFirewallDriver
907178 - Deletion of the "default" security group fails without error
908373 - Quantum: adding fixed ip to an instance on a network with two subnets using NOVA will results with two ip address
910224 - CVE-2013-1664 CVE-2013-1665 OpenStack nova: XML entity parsing
911103 - libvirt leaves large stale .part files on disk when downloading non raw images
912384 - Backport GlusterFS connector from Grizzly
912982 - CVE-2013-1665 Python xml bindings: External entity expansion in Python XML libraries inflicts potential security flaws and DoS vulnerabilities
913613 - Some Instances are shutoff after they're suspended externally to nova
913808 - CVE-2013-1664 Python xml bindings: Internal entity expansion in Python XML libraries inflicts DoS vulnerabilities
914759 - nova-dhcpbridge does not support nova.conf and nova-dist.conf at the same time
916241 - nova-dhcpbridge fails to startup


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/