<?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: Red Hat Enterprise MRG Messaging 2.2 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:1277</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2012-09-19T17:11:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2012-09-19T17:11:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2012-09-19T17:11:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2012-09-19T17:22:02Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
Updated Messaging component packages that fix two security issues, multiple
bugs, and add various enhancements are now available for Red Hat Enterprise
MRG 2.2 for Red Hat Enterprise Linux 5.

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">
Red Hat Enterprise MRG (Messaging, Realtime, and Grid) is a next-generation
IT infrastructure for enterprise computing. MRG offers increased
performance, reliability, interoperability, and faster computing for
enterprise customers.

MRG Messaging is a high-speed reliable messaging distribution for Linux
based on AMQP (Advanced Message Queuing Protocol), an open protocol
standard for enterprise messaging that is designed to make mission critical
messaging widely available as a standard service, and to make enterprise
messaging interoperable across platforms, programming languages, and
vendors. MRG Messaging includes an AMQP 0-10 messaging broker; AMQP 0-10
client libraries for C++, Java JMS, and Python; as well as persistence
libraries and management tools.

It was discovered that the Apache Qpid daemon (qpidd) did not allow the
number of connections from clients to be restricted. A malicious client
could use this flaw to open an excessive amount of connections, preventing
other legitimate clients from establishing a connection to qpidd.
(CVE-2012-2145)

To address CVE-2012-2145, new qpidd configuration options were introduced:
max-negotiate-time defines the time during which initial protocol
negotiation must succeed, connection-limit-per-user and
connection-limit-per-ip can be used to limit the number of connections per
user and client host IP. Refer to the qpidd manual page for additional
details.

It was discovered that qpidd did not require authentication for &quot;catch-up&quot;
shadow connections created when a new broker joins a cluster. A malicious
client could use this flaw to bypass client authentication. (CVE-2012-3467)

This update also fixes multiple bugs and adds enhancements. Documentation
for these changes will be available shortly from the Technical Notes
document linked to in the References section.

All users of the Messaging capabilities of Red Hat Enterprise MRG 2.2 are
advised to upgrade to these updated packages, which resolve the issues and
add the enhancements noted in the Red Hat Enterprise MRG 2 Technical Notes.
After installing the updated packages, stop the cluster by either running
&quot;service qpidd stop&quot; on all nodes, or &quot;qpid-cluster --all-stop&quot; on any one
of the cluster nodes. Once stopped, restart the cluster with &quot;service qpidd
start&quot; on all nodes for the update to take effect.    </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-1277.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-1277.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://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_MRG/2/html/Technical_Notes/sec-Red_Hat_Enterprise_Linux_5.html#RHSA-2012-1277</URL>
       <Description>https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_MRG/2/html/Technical_Notes/sec-Red_Hat_Enterprise_Linux_5.html#RHSA-2012-1277</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=689408</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=689408</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=693444</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=693444</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=809357</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=809357</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=841488</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=841488</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Red Hat Enterprise MRG for RHEL-5">
      <Branch Type="Product Name" Name="MRG Grid Execute Node for RHEL 5 Server v.2">
        <FullProductName ProductID="5Server-MRG-Grid-Execute-Node-2">MRG Grid Execute Node for RHEL 5 Server v.2</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat MRG Messaging for RHEL 5 Server v.2">
        <FullProductName ProductID="5Server-MRG-Messaging-2">Red Hat MRG Messaging for RHEL 5 Server v.2</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="MRG Management for RHEL 5 Server v.2">
        <FullProductName ProductID="5Server-MRG-Management-2">MRG Management for RHEL 5 Server v.2</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="MRG Grid for RHEL 5 Server v.2">
        <FullProductName ProductID="5Server-MRG-Grid-2">MRG Grid for RHEL 5 Server v.2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="mrg-release-2.2.0-1.el5">
      <FullProductName ProductID="mrg-release-2.2.0-1.el5">mrg-release-2.2.0-1.el5.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-qpid-0.14-11.el5">
      <FullProductName ProductID="python-qpid-0.14-11.el5">python-qpid-0.14-11.el5.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="qpid-cpp-mrg-0.14-22.el5">
      <FullProductName ProductID="qpid-cpp-mrg-0.14-22.el5">qpid-cpp-mrg-0.14-22.el5.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="qpid-java-0.18-2.el5">
      <FullProductName ProductID="qpid-java-0.18-2.el5">qpid-java-0.18-2.el5.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="qpid-jca-0.18-2.el5">
      <FullProductName ProductID="qpid-jca-0.18-2.el5">qpid-jca-0.18-2.el5.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="qpid-qmf-0.14-14.el5">
      <FullProductName ProductID="qpid-qmf-0.14-14.el5">qpid-qmf-0.14-14.el5.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="qpid-tools-0.14-6.el5">
      <FullProductName ProductID="qpid-tools-0.14-6.el5">qpid-tools-0.14-6.el5.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="mrg-release-2.2.0-1.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-MRG-Grid-Execute-Node-2">
      <FullProductName ProductID="5Server-MRG-Grid-Execute-Node-2:mrg-release-2.2.0-1.el5">mrg-release-2.2.0-1.el5 as a component of MRG Grid Execute Node for RHEL 5 Server v.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="mrg-release-2.2.0-1.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-MRG-Messaging-2">
      <FullProductName ProductID="5Server-MRG-Messaging-2:mrg-release-2.2.0-1.el5">mrg-release-2.2.0-1.el5 as a component of Red Hat MRG Messaging for RHEL 5 Server v.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-qpid-0.14-11.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-MRG-Messaging-2">
      <FullProductName ProductID="5Server-MRG-Messaging-2:python-qpid-0.14-11.el5">python-qpid-0.14-11.el5 as a component of Red Hat MRG Messaging for RHEL 5 Server v.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="qpid-cpp-mrg-0.14-22.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-MRG-Messaging-2">
      <FullProductName ProductID="5Server-MRG-Messaging-2:qpid-cpp-mrg-0.14-22.el5">qpid-cpp-mrg-0.14-22.el5 as a component of Red Hat MRG Messaging for RHEL 5 Server v.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="qpid-java-0.18-2.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-MRG-Messaging-2">
      <FullProductName ProductID="5Server-MRG-Messaging-2:qpid-java-0.18-2.el5">qpid-java-0.18-2.el5 as a component of Red Hat MRG Messaging for RHEL 5 Server v.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="qpid-jca-0.18-2.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-MRG-Messaging-2">
      <FullProductName ProductID="5Server-MRG-Messaging-2:qpid-jca-0.18-2.el5">qpid-jca-0.18-2.el5 as a component of Red Hat MRG Messaging for RHEL 5 Server v.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="qpid-qmf-0.14-14.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-MRG-Messaging-2">
      <FullProductName ProductID="5Server-MRG-Messaging-2:qpid-qmf-0.14-14.el5">qpid-qmf-0.14-14.el5 as a component of Red Hat MRG Messaging for RHEL 5 Server v.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="qpid-tools-0.14-6.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-MRG-Messaging-2">
      <FullProductName ProductID="5Server-MRG-Messaging-2:qpid-tools-0.14-6.el5">qpid-tools-0.14-6.el5 as a component of Red Hat MRG Messaging for RHEL 5 Server v.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="mrg-release-2.2.0-1.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-MRG-Management-2">
      <FullProductName ProductID="5Server-MRG-Management-2:mrg-release-2.2.0-1.el5">mrg-release-2.2.0-1.el5 as a component of MRG Management for RHEL 5 Server v.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="mrg-release-2.2.0-1.el5" RelationType="Default Component Of" RelatesToProductReference="5Server-MRG-Grid-2">
      <FullProductName ProductID="5Server-MRG-Grid-2:mrg-release-2.2.0-1.el5">mrg-release-2.2.0-1.el5 as a component of MRG Grid for RHEL 5 Server v.2</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">It was discovered that the Apache Qpid daemon (qpidd) did not allow the number of connections from clients to be restricted. A malicious client could use this flaw to open an excessive amount of connections, preventing other legitimate clients from establishing a connection to qpidd. 
To address CVE-2012-2145, new qpidd configuration options were introduced: max-negotiate-time defines the time during which initial protocol negotiation must succeed, connection-limit-per-user and connection-limit-per-ip can be used to limit the number of connections per user and client host IP. Refer to the qpidd manual page for additional details.</Note></Notes>
    <DiscoveryDate>2012-01-27T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-04-24T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-2145</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>5Server-MRG-Grid-2:mrg-release-2.2.0-1.el5</ProductID>
      <ProductID>5Server-MRG-Grid-Execute-Node-2:mrg-release-2.2.0-1.el5</ProductID>
      <ProductID>5Server-MRG-Management-2:mrg-release-2.2.0-1.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:mrg-release-2.2.0-1.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:python-qpid-0.14-11.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:qpid-cpp-mrg-0.14-22.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:qpid-java-0.18-2.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:qpid-jca-0.18-2.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:qpid-qmf-0.14-14.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:qpid-tools-0.14-6.el5</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>5.0</BaseScore>
      <Vector>AV:N/AC:L/Au:N/C:N/I:N/A:P</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-1277.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-2145.html</URL>
        <Description>CVE-2012-2145</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=817175</URL>
        <Description>bz#817175: CVE-2012-2145 qpid-cpp: not closing incomplete connections exhausts file descriptors, leading to DoS</Description>
      </Reference>
    </References>
  </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 discovered that qpidd did not require authentication for &quot;catch-up&quot; shadow connections created when a new broker joins a cluster. A malicious client could use this flaw to bypass client authentication. </Note></Notes>
    <DiscoveryDate>2012-06-22T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-06-22T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-3467</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>5Server-MRG-Grid-2:mrg-release-2.2.0-1.el5</ProductID>
      <ProductID>5Server-MRG-Grid-Execute-Node-2:mrg-release-2.2.0-1.el5</ProductID>
      <ProductID>5Server-MRG-Management-2:mrg-release-2.2.0-1.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:mrg-release-2.2.0-1.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:python-qpid-0.14-11.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:qpid-cpp-mrg-0.14-22.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:qpid-java-0.18-2.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:qpid-jca-0.18-2.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:qpid-qmf-0.14-14.el5</ProductID>
      <ProductID>5Server-MRG-Messaging-2:qpid-tools-0.14-6.el5</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>6.4</BaseScore>
      <Vector>AV:N/AC:L/Au:N/C:P/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-1277.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-3467.html</URL>
        <Description>CVE-2012-3467</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=836276</URL>
        <Description>bz#836276: CVE-2012-3467 qpid-cpp-server-cluster: unauthorized broker access caused by the use of NullAuthenticator catch-up shadow connections</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
