CVE-2015-5162 OpenStack Cinder, Glance, and Nova contain Uncontrolled Resource Consumption

High 7.5 Published Updated

Attackers can cause denial of service via memory and disk consumption by submitting crafted disk images to OpenStack image parsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-5162?

CVE-2015-5162 is a high-severity denial of service vulnerability in n/a, published on 7 Oct 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The image parser in OpenStack Cinder 7.0.2 and 8.0.0 through 8.1.1; Glance before 11.0.1 and 12.0.0; and Nova before 12.0.4 and 13.0.0 does not properly limit qemu-img calls, which might allow attackers to cause a denial of service (memory and disk consumption) via a crafted disk image.

Weakness: CWE-399

Which versions are affected by CVE-2015-5162?

11 open source packages ship an affected version, including cinder, glance and nova. It affects 3 products.

PackageAffectedFixed in
cinder PyPIAll versions7.0.2, 9.0.0
cinder PyPIAll versions7.0.2
cinder PyPIAll versions7.0.2
cinder PyPIFrom 8.0.09.0.0
cinder PyPIFrom 8.0.09.0.0
glance PyPIAll versions14.0.0
5 more packages
glance PyPIAll versions14.0.0
glance PyPIAll versions14.0.0
nova PyPIAll versions12.0.4
nova PyPIAll versions12.0.4
nova PyPIAll versions12.0.4
Linux distribution packages (29)
openstack-cinder Red Hat:openstack:5::el6All versions0:2014.1.5-9.el6ost
openstack-cinder-doc Red Hat:openstack:5::el6All versions0:2014.1.5-9.el6ost
python-cinder Red Hat:openstack:5::el6All versions0:2014.1.5-9.el6ost
openstack-cinder Red Hat:openstack:5::el7All versions0:2014.1.5-9.el7ost
openstack-cinder-doc Red Hat:openstack:5::el7All versions0:2014.1.5-9.el7ost
python-cinder Red Hat:openstack:5::el7All versions0:2014.1.5-9.el7ost
openstack-cinder Red Hat:openstack:6::el7All versions0:2014.2.4-11.el7ost
openstack-cinder-doc Red Hat:openstack:6::el7All versions0:2014.2.4-11.el7ost
python-cinder Red Hat:openstack:6::el7All versions0:2014.2.4-11.el7ost
openstack-cinder Red Hat:openstack:7::el7All versions0:2015.1.3-12.el7ost
openstack-cinder-doc Red Hat:openstack:7::el7All versions0:2015.1.3-12.el7ost
openstack-glance Red Hat:openstack:7::el7All versions0:2015.1.2-3.el7ost
openstack-glance-doc Red Hat:openstack:7::el7All versions0:2015.1.2-3.el7ost
openstack-nova Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-api Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-cells Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-cert Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-common Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-compute Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-conductor Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-console Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-doc Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-network Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-novncproxy Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-objectstore Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-scheduler Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-serialproxy Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
openstack-nova-spicehtml5proxy Red Hat:openstack:7::el7All versions0:2015.1.4-32.el7ost
python-cinder Red Hat:openstack:7::el7All versions0:2015.1.3-12.el7ost

Products include Openstack Cinder, Openstack Glance, Openstack Nova.

How do I fix CVE-2015-5162?

Upgrade cinder to a fixed version for your release line: 7.0.2 or 9.0.0.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2015-5162 being exploited?

There is no known exploitation of CVE-2015-5162 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2015-5162, GHSA-g2j5-7vgx-6xrx, PYSEC-2026-2412, PYSEC-2026-2491, PYSEC-2026-871, RHSA-2016:2923 and 6 more.

Is CVE-2015-5162 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free