<?xml version="1.0" encoding="utf-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Red Hat Security Advisory: openstack-keystone security, bug fix, and enhancement update</DocumentTitle>
  <DocumentType>Security Advisory</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>secalert@redhat.com</ContactDetails>
    <IssuingAuthority>Red Hat Security Response Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification><ID>RHSA-2012:1557</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2012-12-10T20:54:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2012-12-10T20:54:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2012-12-10T20:54:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2012-12-10T21:06:12Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
Updated openstack-keystone packages that fix two security issues, multiple
bugs, and add enhancements 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.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
The openstack-keystone packages provide Keystone, a Python implementation
of the OpenStack identity service API, which provides Identity, Token,
Catalog, and Policy services.

The openstack-keystone packages have been upgraded to upstream version
2012.2.1, which provides a number of bug fixes and enhancements over the
previous version. (BZ#883829)

This update also fixes the following security issues:

A flaw in Keystone allowed an attacker with access to the web and network  
interfaces to continue using chained tokens linked to tokens that had 
expired. This would allow the attacker to continue using the tokens despite 
the parent token being expired, giving them continued access to OpenStack 
services. (CVE-2012-5563)

It was found that Keystone did not correctly handle users being removed
from tenants when Amazon Elastic Compute Cloud (Amazon EC2) style
credentials (credentials that are issued in the same format as standard
Amazon EC2 credentials) were in use. When a user was removed from a tenant,
they retained the privileges provided by that tenant, allowing them to
access resources they should no longer have access to. (CVE-2012-5571)

Red Hat would like to thank the OpenStack project for reporting these
issues. Upstream acknowledges Anndy as the original reporter of
CVE-2012-5563, and Vijaya Erukala as the original reporter of
CVE-2012-5571.

All users of openstack-keystone are advised to upgrade to these updated
packages, which correct these issues and add these enhancements. After
installing the updated packages, the Keystone service (openstack-keystone)
will be restarted automatically.    </Note>
    <Note Title="Terms of Use" Ordinal="3" Type="Legal Disclaimer" xml:lang="en">Please see https://www.redhat.com/footer/terms-of-use.html</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
  <AggregateSeverity Namespace="https://access.redhat.com/security/updates/classification/">Moderate</AggregateSeverity>
  <DocumentReferences>
    <Reference Type="Self">
       <URL>https://rhn.redhat.com/errata/RHSA-2012-1557.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-1557.html</Description>
    </Reference>
    <Reference>
       <URL>https://access.redhat.com/security/updates/classification/#moderate</URL>
       <Description>https://access.redhat.com/security/updates/classification/#moderate</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=883829</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=883829</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Red Hat OpenStack">
      <Branch Type="Product Name" Name="OpenStack Folsom">
        <FullProductName ProductID="6Server-Folsom">OpenStack Folsom</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="openstack-keystone-2012.2.1-1.el6ost">
      <FullProductName ProductID="openstack-keystone-2012.2.1-1.el6ost">openstack-keystone-2012.2.1-1.el6ost.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="openstack-keystone-2012.2.1-1.el6ost" RelationType="Default Component Of" RelatesToProductReference="6Server-Folsom">
      <FullProductName ProductID="6Server-Folsom:openstack-keystone-2012.2.1-1.el6ost">openstack-keystone-2012.2.1-1.el6ost as a component of OpenStack Folsom</FullProductName>
    </Relationship>
  </ProductTree>

  <Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A flaw in Keystone allowed an attacker with access to the web and network interfaces to continue using chained tokens linked to tokens that had expired. This would allow the attacker to continue using the tokens despite the parent token being expired, giving them continued access to OpenStack services. </Note></Notes>
    <DiscoveryDate>2012-11-22T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-11-28T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-5563</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Server-Folsom:openstack-keystone-2012.2.1-1.el6ost</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>4.0</BaseScore>
      <Vector>AV:N/AC:L/Au:S/C:N/I:P/A:N</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
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    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2012-1557.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-5563.html</URL>
        <Description>CVE-2012-5563</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=879402</URL>
        <Description>bz#879402: CVE-2012-5563 OpenStack: Keystone extension of token validity through token chaining</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>Red Hat would like to thank the OpenStack project for reporting this issue. Upstream acknowledges Anndy as the original reporter.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>

  <Vulnerability Ordinal="2" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
    <Notes><Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">It was found that Keystone did not correctly handle users being removed from tenants when Amazon Elastic Compute Cloud (Amazon EC2) style credentials (credentials that are issued in the same format as standard Amazon EC2 credentials) were in use. When a user was removed from a tenant, they retained the privileges provided by that tenant, allowing them to access resources they should no longer have access to. </Note></Notes>
    <DiscoveryDate>2012-11-26T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-11-28T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-5571</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Server-Folsom:openstack-keystone-2012.2.1-1.el6ost</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>4.0</BaseScore>
      <Vector>AV:N/AC:L/Au:S/C:N/I:P/A:N</Vector>
    </ScoreSet></CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix"><Description xml:lang="en">
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    </Description>      <URL>https://rhn.redhat.com/errata/RHSA-2012-1557.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://bugs.launchpad.net/keystone/+bug/1064914</URL>
        <Description>https://bugs.launchpad.net/keystone/+bug/1064914</Description>
      </Reference>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-5571.html</URL>
        <Description>CVE-2012-5571</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=880399</URL>
        <Description>bz#880399: CVE-2012-5571 OpenStack: Keystone EC2-style credentials invalidation issue</Description>
      </Reference>
    </References>
    <Acknowledgments><Acknowledgment><Description>Red Hat would like to thank the OpenStack project for reporting this issue. Upstream acknowledges Vijaya Erukala as the original reporter.</Description></Acknowledgment></Acknowledgments>
  </Vulnerability>
</cvrfdoc>
