<?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: python-paste-script security 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:1206</ID></Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
       <Revision>
         <Number>1</Number>
         <Date>2012-08-27T12:39:00Z</Date>
         <Description>Current version</Description>
       </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2012-08-27T12:39:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2012-08-27T12:39:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>Red Hat rhsa-to-cvrf 1.0.1910</Engine>
      <Date>2013-04-09T09:09:33Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">
An updated python-paste-script package that fixes one security issue is now
available for Red Hat Enterprise Linux 6.

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">
Python Paste provides middleware for building and running Python web
applications. The python-paste-script package includes paster, a tool for
working with and running Python Paste applications.

It was discovered that paster did not drop supplementary group privileges
when started by the root user. Running &quot;paster serve&quot; as root to start a
Python web application that will run as a non-root user and group resulted
in that application running with root group privileges. This could possibly
allow a remote attacker to gain access to files that should not be
accessible to the application. (CVE-2012-0878)

All paster users should upgrade to this updated package, which contains a
backported patch to resolve this issue. All running paster instances
configured to drop privileges 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-1206.html</URL>
       <Description>https://rhn.redhat.com/errata/RHSA-2012-1206.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>
  </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 Server (v. 6)">
        <FullProductName ProductID="6Server-6.3.z">Red Hat Enterprise Linux Server (v. 6)</FullProductName>
      </Branch>
      <Branch Type="Product Name" Name="Red Hat Enterprise Linux Workstation (v. 6)">
        <FullProductName ProductID="6Workstation-6.3.z">Red Hat Enterprise Linux Workstation (v. 6)</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="python-paste-script-1.7.3-5.el6_3">
      <FullProductName ProductID="python-paste-script-1.7.3-5.el6_3">python-paste-script-1.7.3-5.el6_3.src.rpm</FullProductName>
    </Branch>
    <Relationship ProductReference="python-paste-script-1.7.3-5.el6_3" RelationType="Default Component Of" RelatesToProductReference="6Server-6.3.z">
      <FullProductName ProductID="6Server-6.3.z:python-paste-script-1.7.3-5.el6_3">python-paste-script-1.7.3-5.el6_3 as a component of Red Hat Enterprise Linux Server (v. 6)</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-paste-script-1.7.3-5.el6_3" RelationType="Default Component Of" RelatesToProductReference="6Workstation-6.3.z">
      <FullProductName ProductID="6Workstation-6.3.z:python-paste-script-1.7.3-5.el6_3">python-paste-script-1.7.3-5.el6_3 as a component of Red Hat Enterprise Linux Workstation (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">It was discovered that paster did not drop supplementary group privileges when started by the root user. Running &quot;paster serve&quot; as root to start a Python web application that will run as a non-root user and group resulted in that application running with root group privileges. This could possibly allow a remote attacker to gain access to files that should not be accessible to the application. </Note></Notes>
    <DiscoveryDate>2012-02-06T00:00:00Z</DiscoveryDate>
    <ReleaseDate>2012-02-06T00:00:00Z</ReleaseDate>
    <Involvements><Involvement Party="Vendor" Status="Completed"></Involvement></Involvements>
    <CVE>CVE-2012-0878</CVE>
    <ProductStatuses><Status Type="Fixed">
      <ProductID>6Server-6.3.z:python-paste-script-1.7.3-5.el6_3</ProductID>
      <ProductID>6Workstation-6.3.z:python-paste-script-1.7.3-5.el6_3</ProductID>
    </Status></ProductStatuses>
    <Threats><Threat Type="Impact"><Description>Moderate</Description></Threat></Threats>
    <CVSSScoreSets><ScoreSet>
      <BaseScore>5.1</BaseScore>
      <Vector>AV:N/AC:H/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-1206.html</URL></Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.redhat.com/security/data/cve/CVE-2012-0878.html</URL>
        <Description>CVE-2012-0878</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.redhat.com/show_bug.cgi?id=796790</URL>
        <Description>bz#796790: CVE-2012-0878 python-paste-script: Supplementary groups not dropped when started an application with &quot;paster serve&quot; as root</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
