<?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: qt security and bug fix 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:0880</ID></Identification>
    <Status>Final</Status>
    <Version>4</Version>
    <RevisionHistory>
       <Revision>
         <Number>4</Number>
         <Date>2012-06-20T08:34:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2012-06-20T08:34:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2012-06-20T08:34:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1484</Engine>
      <Date>2012-06-20T09:04:08Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
Updated qt packages that fix two security issues and three bugs are now
available for Red Hat Enterprise Linux 6.

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">
Qt is a software toolkit that simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications for the X Window
System. HarfBuzz is an OpenType text shaping engine.

A buffer overflow flaw was found in the harfbuzz module in Qt. If a user
loaded a specially-crafted font file with an application linked against Qt,
it could cause the application to crash or, possibly, execute arbitrary
code with the privileges of the user running the application.
(CVE-2011-3922)

A flaw was found in the way Qt handled X.509 certificates with IP address
wildcards. An attacker able to obtain a certificate with a Common Name
containing an IP wildcard could possibly use this flaw to impersonate an
SSL server to client applications that are using Qt. This update also
introduces more strict handling for hostname wildcard certificates by
disallowing the wildcard character to match more than one hostname
component. (CVE-2010-5076)

This update also fixes the following bugs:

* The Phonon API allowed premature freeing of the media object.
Consequently, GStreamer could terminate unexpectedly as it failed to access
the released media object. This update modifies the underlying Phonon API
code and the problem no longer occurs. (BZ#694684)

* Previously, Qt could output the &quot;Unrecognized OpenGL version&quot; error and
fall back to OpenGL-version-1 compatibility mode. This happened because Qt
failed to recognize the version of OpenGL installed on the system if the
system was using a version of OpenGL released later than the Qt version in
use. This update adds the code for recognition of OpenGL versions to Qt and
if the OpenGL version is unknown, Qt assumes that the last-known version of
OpenGL is available. (BZ#757793)

* Previously Qt included a compiled-in list of trusted CA (Certificate
Authority) certificates, that could have been used if Qt failed to open a
system's ca-bundle.crt file. With this update, Qt no longer includes
compiled-in CA certificates and only uses the system bundle. (BZ#734444)

Users of Qt should upgrade to these updated packages, which contain
backported patches to correct these issues. All running applications linked
against Qt libraries must be restarted for this 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-0880.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-0880.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=694684</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=694684</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=734444</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=734444</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Red Hat Enterprise Linux">
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Desktop Optional (v. 6)">
        <FullProductName ProductID="6Client-optional">Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux HPC Node Optional (v. 6)">
        <FullProductName ProductID="6ComputeNode-optional">Red Hat Enterprise Linux HPC Node Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Workstation Optional (v. 6)">
        <FullProductName ProductID="6Workstation-optional">Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Workstation (v. 6)">
        <FullProductName ProductID="6Workstation">Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux HPC Node (v. 6)">
        <FullProductName ProductID="6ComputeNode">Red Hat Enterprise Linux HPC Node (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Server Optional (v. 6)">
        <FullProductName ProductID="6Server-optional">Red Hat Enterprise Linux Server Optional (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Desktop (v. 6)">
        <FullProductName ProductID="6Client">Red Hat Enterprise Linux Desktop (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Server (v. 6)">
        <FullProductName ProductID="6Server">Red Hat Enterprise Linux Server (v. 6)</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="qt-4.6.2-24.el6">
      <FullProductName ProductID="qt-4.6.2-24.el6">qt-4.6.2-24.el6.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="qt-4.6.2-24.el6" RelationType="Default Component Of" RelatesToProductReference="6Client-optional">
      <FullProductName ProductID="6Client-optional:qt-4.6.2-24.el6">qt-4.6.2-24.el6 as a component of Red Hat Enterprise Linux Desktop Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="qt-4.6.2-24.el6" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode-optional">
      <FullProductName ProductID="6ComputeNode-optional:qt-4.6.2-24.el6">qt-4.6.2-24.el6 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="qt-4.6.2-24.el6" RelationType="Default Component Of" RelatesToProductReference="6Workstation-optional">
      <FullProductName ProductID="6Workstation-optional:qt-4.6.2-24.el6">qt-4.6.2-24.el6 as a component of Red Hat Enterprise Linux Workstation Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="qt-4.6.2-24.el6" RelationType="Default Component Of" RelatesToProductReference="6Workstation">
      <FullProductName ProductID="6Workstation:qt-4.6.2-24.el6">qt-4.6.2-24.el6 as a component of Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="qt-4.6.2-24.el6" RelationType="Default Component Of" RelatesToProductReference="6ComputeNode">
      <FullProductName ProductID="6ComputeNode:qt-4.6.2-24.el6">qt-4.6.2-24.el6 as a component of Red Hat Enterprise Linux HPC Node (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="qt-4.6.2-24.el6" RelationType="Default Component Of" RelatesToProductReference="6Server-optional">
      <FullProductName ProductID="6Server-optional:qt-4.6.2-24.el6">qt-4.6.2-24.el6 as a component of Red Hat Enterprise Linux Server Optional (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="qt-4.6.2-24.el6" RelationType="Default Component Of" RelatesToProductReference="6Client">
      <FullProductName ProductID="6Client:qt-4.6.2-24.el6">qt-4.6.2-24.el6 as a component of Red Hat Enterprise Linux Desktop (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="qt-4.6.2-24.el6" RelationType="Default Component Of" RelatesToProductReference="6Server">
      <FullProductName ProductID="6Server:qt-4.6.2-24.el6">qt-4.6.2-24.el6 as a component of Red Hat Enterprise Linux Server (v. 6)</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 was found in the way Qt handled X.509 certificates with IP address wildcards. An attacker able to obtain a certificate with a Common Name containing an IP wildcard could possibly use this flaw to impersonate an SSL server to client applications that are using Qt. This update also introduces more strict handling for hostname wildcard certificates by disallowing the wildcard character to match more than one hostname component. </Note></Notes>
    <DiscoveryDate>2010-09-03T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2010-07-14T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2010-5076</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Client-optional:qt-4.6.2-24.el6</ProductID>
      <ProductID>6Client:qt-4.6.2-24.el6</ProductID>
      <ProductID>6ComputeNode-optional:qt-4.6.2-24.el6</ProductID>
      <ProductID>6ComputeNode:qt-4.6.2-24.el6</ProductID>
      <ProductID>6Server-optional:qt-4.6.2-24.el6</ProductID>
      <ProductID>6Server:qt-4.6.2-24.el6</ProductID>
      <ProductID>6Workstation-optional:qt-4.6.2-24.el6</ProductID>
      <ProductID>6Workstation:qt-4.6.2-24.el6</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Low</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>2.6</BaseScore>
      <Vector>AV:N/AC:H/Au:N/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-0880.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2010-5076.html</URL>
        <Description>CVE-2010-5076</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=630063</URL>
        <Description>bz#630063: CVE-2010-5076 Qt: QSslSocket incorrect handling of IP wildcards in certificate Common Name</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">A buffer overflow flaw was found in the harfbuzz module in Qt. If a user loaded a specially-crafted font file with an application linked against Qt, it could cause the application to crash or, possibly, execute arbitrary code with the privileges of the user running the application. </Note></Notes>
    <DiscoveryDate>2012-01-05T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-01-06T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2011-3922</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Client-optional:qt-4.6.2-24.el6</ProductID>
      <ProductID>6Client:qt-4.6.2-24.el6</ProductID>
      <ProductID>6ComputeNode-optional:qt-4.6.2-24.el6</ProductID>
      <ProductID>6ComputeNode:qt-4.6.2-24.el6</ProductID>
      <ProductID>6Server-optional:qt-4.6.2-24.el6</ProductID>
      <ProductID>6Server:qt-4.6.2-24.el6</ProductID>
      <ProductID>6Workstation-optional:qt-4.6.2-24.el6</ProductID>
      <ProductID>6Workstation:qt-4.6.2-24.el6</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>6.8</BaseScore>
      <Vector>AV:N/AC:M/Au:N/C:P/I:P/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-0880.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2011-3922.html</URL>
        <Description>CVE-2011-3922</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=772125</URL>
        <Description>bz#772125: CVE-2011-3922 qt: Stack-based buffer overflow in embedded harfbuzz code</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
