Bug 947735 (CVE-2015-5286) - VUL-0: CVE-2015-5286: openstack-glance: Glance storage overrun
Summary: VUL-0: CVE-2015-5286: openstack-glance: Glance storage overrun
Status: RESOLVED FIXED
Alias: CVE-2015-5286
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL:
Whiteboard: CVSSv2:RedHat:CVE-2015-5286:5.0:(AV:N...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-28 08:36 UTC by Victor Pereira
Modified: 2016-04-27 19:46 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
test_images.py (1.77 KB, text/x-python)
2015-10-01 16:18 UTC, Andreas Stieger
Details
test_images_v2.py (1.78 KB, text/x-python)
2015-10-01 16:19 UTC, Andreas Stieger
Details

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Victor Pereira 2015-09-28 08:37:17 UTC
Created attachment 649210 [details]
patch for juno
Comment 2 Victor Pereira 2015-09-28 08:37:47 UTC
Created attachment 649211 [details]
patch for kilo
Comment 4 Swamp Workflow Management 2015-09-28 22:00:44 UTC
bugbot adjusting priority
Comment 5 Andreas Stieger 2015-10-01 12:56:11 UTC
CRD: 2015-10-01 15:00 UTC
Comment 6 Andreas Stieger 2015-10-01 16:11:41 UTC
The issue is public at https://bugs.launchpad.net/glance/+bug/1498163

information type: 	Private Security → Public Security
summary: 	- Glance storage quota bypass when token is expired (CVE-2015-5286)
+ [OSSA 2015-020] Glance storage quota bypass when token is expired
+ (CVE-2015-5286) 

Note the updated set of patches.
Comment 7 Andreas Stieger 2015-10-01 16:18:30 UTC
Created attachment 649799 [details]
test_images.py

Public exploit from https://bugs.launchpad.net/glance/+bug/1498163/comments/1
Comment 8 Andreas Stieger 2015-10-01 16:19:29 UTC
Created attachment 649800 [details]
test_images_v2.py

public exploit from https://bugs.launchpad.net/glance/+bug/1498163/comments/2
Comment 9 Andreas Stieger 2015-10-02 15:15:26 UTC
public announcement:

=====================================
OSSA-2015-020: Glance storage overrun
=====================================

:Date: October 01, 2015
:CVE: CVE-2015-5286


Affects
~~~~~~~
- Glance: <=2014.2.3, >=2015.1.0, <=2015.1.1


Description
~~~~~~~~~~~
Mike Fedosin and Alexei Galkin from Mirantis reported a vulnerability
in Glance. By deleting images that are being uploaded using a token
that is about to expire, a malicious user can overcome the storage
quota and accumulate untracked image data in the backend resulting in
potential resource exhaustion and denial of service. All Glance setups
using the V1 API are affected and all setups using the V2 API with the
registry db_api enabled are affected.


Patches
~~~~~~~
- https://review.openstack.org/229946 (Juno)
- https://review.openstack.org/229975 (Juno)
- https://review.openstack.org/229945 (Kilo)
- https://review.openstack.org/229973 (Kilo)
- https://review.openstack.org/230056 (Liberty)
- https://review.openstack.org/229972 (Liberty)
- https://review.openstack.org/229943 (Mitaka)
- https://review.openstack.org/229971 (Mitaka)


Credits
~~~~~~~
- Mike Fedosin from Mirantis (CVE-2015-5286)
- Alexei Galkin from Mirantis (CVE-2015-5286)


References
~~~~~~~~~~
- https://bugs.launchpad.net/bugs/1498163
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5286


Notes
~~~~~
- This fix will be included in future 2014.2.4 (juno) and 2015.1.2
  (kilo) releases.

--
Tristan Cacqueray
OpenStack Vulnerability Management Team
Comment 10 Andreas Stieger 2015-10-05 14:35:46 UTC
stable/juno ( 2014.2.4 ) commit:
https://git.openstack.org/cgit/openstack/glance/commit/?id=868d9161c60f839cbf53393b804d7c0c41338e5b
Comment 11 Vincent Untz 2015-10-12 08:38:05 UTC
Submitted in mr#73697.
Comment 12 Andreas Stieger 2016-01-13 12:37:50 UTC
Releasing Cloud 5 update.

Not fixing openSUSE 13.1. Closing.
Comment 13 Swamp Workflow Management 2016-01-13 16:12:00 UTC
SUSE-SU-2016:0101-1: An update that solves two vulnerabilities and has one errata is now available.

Category: security (moderate)
Bug References: 945051,945994,947735
CVE References: CVE-2015-5251,CVE-2015-5286
Sources used:
SUSE OpenStack Cloud 5 (src):    openstack-glance-2014.2.4.juno-14.1, openstack-glance-doc-2014.2.4.juno-14.1