Bug 993340 - (CVE-2013-2256) CVE-2013-2256 OpenStack: Nova private flavors resource limit circumvention
CVE-2013-2256 OpenStack: Nova private flavors resource limit circumvention
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20130806,repor...
: Security
Depends On: 993343 993412 994715 994809 994810
Blocks: 993341
  Show dependency treegraph
 
Reported: 2013-08-05 16:14 EDT by Kurt Seifried
Modified: 2016-04-27 00:56 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-11-06 00:43:51 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Kurt Seifried 2013-08-05 16:14:39 EDT
Jeremey Stanley (jeremy@openstack.org) reports:

Title: Resource limit circumvention in Nova private flavors
Reporter: hzrandd (NetEase)
Products: Nova
Affects: All versions

hzrandd from NetEase reported a resource limit circumvention
vulnerability in Nova's handling of private flavors. Any tenant is
able to show and boot any other tenant's private flavors by guessing
a flavor ID. This not only exposes the flavor's name, memory and
disk size, swap allocation, VCPU count and similar flavor
properties, but potentially allows circumvention of any resource
limits enforced through the os-flavor-access:is_public property.

Havana (development branch) fix:
https://review.openstack.org/34963

Grizzly fix:
https://review.openstack.org/37992

Folsom fix:
https://review.openstack.org/38318

Notes:
This fix is included in the 2013.2.b2 development milestone and will
appear in a future 2013.1.3 release.
Comment 3 Vincent Danen 2013-08-06 16:33:53 EDT
This is now public:

http://seclists.org/oss-sec/2013/q3/281
Comment 4 Kurt Seifried 2013-08-07 23:56:22 EDT
Created openstack-nova tracking bugs for this issue:

Affects: fedora-all [bug 994809]
Affects: epel-6 [bug 994810]
Comment 5 Vincent Danen 2013-08-21 16:36:10 EDT
The previous fix was insufficient and did not fully fix the flaw, as noted here:

https://bugs.launchpad.net/ossa/+bug/1212179

The patch to fully correct this flaw is here (I believe it would be in addition to previously-mentioned patches):

https://github.com/openstack/nova/commit/4054cc4a22a1fea997dec76afb5646fd6c6ea6b9

This will require a second CVE for the incomplete fix; I've asked upstream to bring this up on the oss-security list.
Comment 6 Kurt Seifried 2013-08-22 11:56:51 EDT
(In reply to Vincent Danen from comment #5)
> The previous fix was insufficient and did not fully fix the flaw, as noted
> here:
> 
> https://bugs.launchpad.net/ossa/+bug/1212179
> 
> The patch to fully correct this flaw is here (I believe it would be in
> addition to previously-mentioned patches):
> 
> https://github.com/openstack/nova/commit/
> 4054cc4a22a1fea997dec76afb5646fd6c6ea6b9
> 
> This will require a second CVE for the incomplete fix; I've asked upstream
> to bring this up on the oss-security list.

Assigned a CVE and created BZ 1000086
Comment 7 Murray McAllister 2013-09-03 00:36:35 EDT
Acknowledgements:

Red Hat would like to thank the OpenStack project for reporting this issue. Upstream acknowledges hzrandd from NetEase as the original reporter. Upstream also acknowledges Ken'ichi Ohmichi from NEC for providing a corrected fix for this issue.
Comment 8 errata-xmlrpc 2013-09-03 16:20:57 EDT
This issue has been addressed in following products:

  OpenStack 3 for RHEL 6

Via RHSA-2013:1199 https://rhn.redhat.com/errata/RHSA-2013-1199.html

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