Bug 920393 (CVE-2013-1840)

Summary: CVE-2013-1840 OpenStack Glance: Backend credentials leak in Glance v1 API
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abaron, apevec, cpelland, eglynn, jbresnah, jlieskov, jrusnack, markmc, rbryant, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-04 20:47:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 920395, 920396    
Bug Blocks: 920394    
Attachments:
Description Flags
stable-essex-CVE-2013-1840.patch
none
stable-folsom-CVE-2013-1840.patch
none
grizzly-CVE-2013-1840.patch none

Description Kurt Seifried 2013-03-12 01:56:39 UTC
Thierry Carrez (thierry) reports:

Title: Backend credentials leak in Glance v1 API
Reporter: Stuart McLaren (HP)
Products: Glance
Affects: All versions

Description:
Stuart McLaren from HP reported a vulnerability in the information
potentially returned to the user in Glance v1 API. If an authenticated
user requests, through the v1 API, an image that is already cached, the
headers returned may disclose the Glance operator's backend credentials
for that endpoint. Only setups accepting the Glance v1 API and using
either the single-tenant Swift store or S3 store are affected.

Proposed patches:
See attached patches. Unless a flaw is discovered in them, these patches
will be merged to Glance master (Grizzly), stable/folsom, and
stable/essex branches on the public disclosure date.

Comment 3 Kurt Seifried 2013-03-12 02:17:24 UTC
Created attachment 708714 [details]
stable-essex-CVE-2013-1840.patch

Comment 4 Kurt Seifried 2013-03-12 02:19:19 UTC
Created attachment 708716 [details]
stable-folsom-CVE-2013-1840.patch

Comment 5 Kurt Seifried 2013-03-12 02:19:42 UTC
Created attachment 708718 [details]
grizzly-CVE-2013-1840.patch

Comment 10 Murray McAllister 2013-03-27 01:54:14 UTC
Acknowledgements:

Red Hat would like to thank the OpenStack project for reporting this issue. Upstream acknowledges Stuart McLaren (HP) as the original reporter.

Comment 11 errata-xmlrpc 2013-04-04 20:23:55 UTC
This issue has been addressed in following products:

  OpenStack Folsom for RHEL 6

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