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

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.    </Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
Network Security Services (NSS) is a set of libraries designed to support
the cross-platform development of security-enabled client and server
applications. Netscape Portable Runtime (NSPR) provides platform
independence for non-GUI operating system facilities.

A flaw was found in the way the ASN.1 (Abstract Syntax Notation One)
decoder in NSS handled zero length items. This flaw could cause the decoder
to incorrectly skip or replace certain items with a default value, or could
cause an application to crash if, for example, it received a
specially-crafted OCSP (Online Certificate Status Protocol) response.
(CVE-2012-0441)

It was found that a Certificate Authority (CA) issued a subordinate CA
certificate to its customer, that could be used to issue certificates for
any name. This update renders the subordinate CA certificate as untrusted.
(BZ#798533)

Note: The BZ#798533 fix only applies to applications using the NSS Builtin
Object Token. It does not render the certificates untrusted for
applications that use the NSS library, but do not use the NSS Builtin
Object Token.

In addition, the nspr package has been upgraded to upstream version 4.9.1,
and the nss package has been upgraded to upstream version 3.13.5. These
updates provide a number of bug fixes and enhancements over the previous
versions. (BZ#834220, BZ#834219)

All NSS and NSPR users should upgrade to these updated packages, which
correct these issues and add these enhancements. After installing the
update, applications using NSS and NSPR must be restarted for the changes
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-1090.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-1090.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>http://www.mozilla.org/security/announce/2012/mfsa2012-39.html</URL>
       <Description>http://www.mozilla.org/security/announce/2012/mfsa2012-39.html</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=798533</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=798533</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=834219</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=834219</Description>
    </Reference>
    <Reference>
       <URL>https://bugzilla.redhat.com/show_bug.cgi?id=834220</URL>
       <Description>https://bugzilla.redhat.com/show_bug.cgi?id=834220</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 (v. 5 client)">
        <FullProductName ProductID="5Client-5.8.Z">Red Hat Enterprise Linux Desktop (v. 5 client)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux (v. 5 server)">
        <FullProductName ProductID="5Server-5.8.Z">Red Hat Enterprise Linux (v. 5 server)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="RHEL Desktop Workstation (v. 5 client)">
        <FullProductName ProductID="5Client-Workstation-5.8.Z">RHEL Desktop Workstation (v. 5 client)</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="nspr-4.9.1-4.el5_8">
      <FullProductName ProductID="nspr-4.9.1-4.el5_8">nspr-4.9.1-4.el5_8.src.rpm</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="nss-3.13.5-4.el5_8">
      <FullProductName ProductID="nss-3.13.5-4.el5_8">nss-3.13.5-4.el5_8.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="nspr-4.9.1-4.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Client-5.8.Z">
      <FullProductName ProductID="5Client-5.8.Z:nspr-4.9.1-4.el5_8">nspr-4.9.1-4.el5_8 as a component of Red Hat Enterprise Linux Desktop (v. 5 client)</FullProductName>
    </Relationship>
    <Relationship ProductReference="nss-3.13.5-4.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Client-5.8.Z">
      <FullProductName ProductID="5Client-5.8.Z:nss-3.13.5-4.el5_8">nss-3.13.5-4.el5_8 as a component of Red Hat Enterprise Linux Desktop (v. 5 client)</FullProductName>
    </Relationship>
    <Relationship ProductReference="nspr-4.9.1-4.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Server-5.8.Z">
      <FullProductName ProductID="5Server-5.8.Z:nspr-4.9.1-4.el5_8">nspr-4.9.1-4.el5_8 as a component of Red Hat Enterprise Linux (v. 5 server)</FullProductName>
    </Relationship>
    <Relationship ProductReference="nss-3.13.5-4.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Server-5.8.Z">
      <FullProductName ProductID="5Server-5.8.Z:nss-3.13.5-4.el5_8">nss-3.13.5-4.el5_8 as a component of Red Hat Enterprise Linux (v. 5 server)</FullProductName>
    </Relationship>
    <Relationship ProductReference="nspr-4.9.1-4.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Client-Workstation-5.8.Z">
      <FullProductName ProductID="5Client-Workstation-5.8.Z:nspr-4.9.1-4.el5_8">nspr-4.9.1-4.el5_8 as a component of RHEL Desktop Workstation (v. 5 client)</FullProductName>
    </Relationship>
    <Relationship ProductReference="nss-3.13.5-4.el5_8" RelationType="Default Component Of" RelatesToProductReference="5Client-Workstation-5.8.Z">
      <FullProductName ProductID="5Client-Workstation-5.8.Z:nss-3.13.5-4.el5_8">nss-3.13.5-4.el5_8 as a component of RHEL Desktop Workstation (v. 5 client)</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 the ASN.1 (Abstract Syntax Notation One) decoder in NSS handled zero length items. This flaw could cause the decoder to incorrectly skip or replace certain items with a default value, or could cause an application to crash if, for example, it received a specially-crafted OCSP (Online Certificate Status Protocol) response. </Note></Notes>
    <DiscoveryDate>2012-06-03T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-06-05T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-0441</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>5Client-5.8.Z:nspr-4.9.1-4.el5_8</ProductID>
      <ProductID>5Client-5.8.Z:nss-3.13.5-4.el5_8</ProductID>
      <ProductID>5Client-Workstation-5.8.Z:nspr-4.9.1-4.el5_8</ProductID>
      <ProductID>5Client-Workstation-5.8.Z:nss-3.13.5-4.el5_8</ProductID>
      <ProductID>5Server-5.8.Z:nspr-4.9.1-4.el5_8</ProductID>
      <ProductID>5Server-5.8.Z:nss-3.13.5-4.el5_8</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>4.3</BaseScore>
      <Vector>AV:N/AC:M/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-1090.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-0441.html</URL>
        <Description>CVE-2012-0441</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=827833</URL>
        <Description>bz#827833: CVE-2012-0441 nss: NSS parsing errors with zero length items</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
