<?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">Security update for rubygem-passenger</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2016:0042-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2016-01-07T09:33:34Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2016-01-07T09:33:34Z</InitialReleaseDate>
    <CurrentReleaseDate>2016-01-07T09:33:34Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for rubygem-passenger</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">

This update fixes the following security issues:

- CVE-2015-7519: Passenger is not filtering
  environment like apache is doing (bnc#956281)

- CVE-2013-4136: Fixed security issue   Passenger would reuse existing server instance directories
  (temporary directories) which could cause Passenger to remove or
  overwrite files belonging to other instances. Solution:
  If the server instance directory already exists, it will now be
  removed first in order get correct directory permissions. If the
  directory still exists after removal, Phusion Passenger aborts to
  avoid writing to a directory with unexpected permissions.(bnc#919726) 

- CVE-2013-2119: Fixed security issue related with incorrect temporary file usage (bnc#828005)  </Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">sleslms13-rubygem-passenger-12303,slestso13-rubygem-passenger-12303,slewyst13-rubygem-passenger-12303</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2016/suse-su-20160042-1/</URL>
      <Description>Link for SUSE-SU-2016:0042-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2016-January/001784.html</URL>
      <Description>E-Mail link for SUSE-SU-2016:0042-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/828005</URL>
      <Description>SUSE Bug 828005</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/919726</URL>
      <Description>SUSE Bug 919726</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/956281</URL>
      <Description>SUSE Bug 956281</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2013-2119/</URL>
      <Description>SUSE CVE CVE-2013-2119 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2013-4136/</URL>
      <Description>SUSE CVE CVE-2013-4136 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2015-7519/</URL>
      <Description>SUSE CVE CVE-2015-7519 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Lifecycle Management Server 1.3">
      <Branch Type="Product Name" Name="SUSE Lifecycle Management Server 1.3">
        <FullProductName ProductID="SUSE Lifecycle Management Server 1.3" CPE="cpe:/a:suse:sle-slms:1.3">SUSE Lifecycle Management Server 1.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Studio Onsite 1.3">
      <Branch Type="Product Name" Name="SUSE Studio Onsite 1.3">
        <FullProductName ProductID="SUSE Studio Onsite 1.3" CPE="cpe:/o:suse:sle-studioonsite:1.3">SUSE Studio Onsite 1.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE WebYast 1.3">
      <Branch Type="Product Name" Name="SUSE WebYast 1.3">
        <FullProductName ProductID="SUSE WebYast 1.3" CPE="cpe:/o:suse:webyast:1.3">SUSE WebYast 1.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="rubygem-passenger-3.0.14-0.14.1">
      <FullProductName ProductID="rubygem-passenger-3.0.14-0.14.1">rubygem-passenger-3.0.14-0.14.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rubygem-passenger-apache2-3.0.14-0.14.1">
      <FullProductName ProductID="rubygem-passenger-apache2-3.0.14-0.14.1">rubygem-passenger-apache2-3.0.14-0.14.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rubygem-passenger-nginx-3.0.14-0.14.1">
      <FullProductName ProductID="rubygem-passenger-nginx-3.0.14-0.14.1">rubygem-passenger-nginx-3.0.14-0.14.1</FullProductName>
    </Branch>
    <Relationship ProductReference="rubygem-passenger-3.0.14-0.14.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Lifecycle Management Server 1.3">
      <FullProductName ProductID="SUSE Lifecycle Management Server 1.3:rubygem-passenger-3.0.14-0.14.1">rubygem-passenger-3.0.14-0.14.1 as a component of SUSE Lifecycle Management Server 1.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-passenger-apache2-3.0.14-0.14.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Lifecycle Management Server 1.3">
      <FullProductName ProductID="SUSE Lifecycle Management Server 1.3:rubygem-passenger-apache2-3.0.14-0.14.1">rubygem-passenger-apache2-3.0.14-0.14.1 as a component of SUSE Lifecycle Management Server 1.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-passenger-nginx-3.0.14-0.14.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Lifecycle Management Server 1.3">
      <FullProductName ProductID="SUSE Lifecycle Management Server 1.3:rubygem-passenger-nginx-3.0.14-0.14.1">rubygem-passenger-nginx-3.0.14-0.14.1 as a component of SUSE Lifecycle Management Server 1.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-passenger-3.0.14-0.14.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Studio Onsite 1.3">
      <FullProductName ProductID="SUSE Studio Onsite 1.3:rubygem-passenger-3.0.14-0.14.1">rubygem-passenger-3.0.14-0.14.1 as a component of SUSE Studio Onsite 1.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-passenger-nginx-3.0.14-0.14.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Studio Onsite 1.3">
      <FullProductName ProductID="SUSE Studio Onsite 1.3:rubygem-passenger-nginx-3.0.14-0.14.1">rubygem-passenger-nginx-3.0.14-0.14.1 as a component of SUSE Studio Onsite 1.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-passenger-3.0.14-0.14.1" RelationType="Default Component Of" RelatesToProductReference="SUSE WebYast 1.3">
      <FullProductName ProductID="SUSE WebYast 1.3:rubygem-passenger-3.0.14-0.14.1">rubygem-passenger-3.0.14-0.14.1 as a component of SUSE WebYast 1.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-passenger-nginx-3.0.14-0.14.1" RelationType="Default Component Of" RelatesToProductReference="SUSE WebYast 1.3">
      <FullProductName ProductID="SUSE WebYast 1.3:rubygem-passenger-nginx-3.0.14-0.14.1">rubygem-passenger-nginx-3.0.14-0.14.1 as a component of SUSE WebYast 1.3</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Phusion Passenger gem before 3.0.21 and 4.0.x before 4.0.5 for Ruby allows local users to cause a denial of service (prevent application start) or gain privileges by pre-creating a temporary "config" file in a directory with a predictable name in /tmp/ before it is used by the gem.</Note>
    </Notes>
    <CVE>CVE-2013-2119</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Lifecycle Management Server 1.3:rubygem-passenger-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Lifecycle Management Server 1.3:rubygem-passenger-apache2-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Lifecycle Management Server 1.3:rubygem-passenger-nginx-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Studio Onsite 1.3:rubygem-passenger-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Studio Onsite 1.3:rubygem-passenger-nginx-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE WebYast 1.3:rubygem-passenger-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE WebYast 1.3:rubygem-passenger-nginx-3.0.14-0.14.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2016/suse-su-20160042-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2013-2119.html</URL>
        <Description>CVE-2013-2119</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/828005</URL>
        <Description>SUSE Bug 828005</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/919726</URL>
        <Description>SUSE Bug 919726</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">ext/common/ServerInstanceDir.h in Phusion Passenger gem before 4.0.6 for Ruby allows local users to gain privileges or possibly change the ownership of arbitrary directories via a symlink attack on a directory with a predictable name in /tmp/.</Note>
    </Notes>
    <CVE>CVE-2013-4136</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Lifecycle Management Server 1.3:rubygem-passenger-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Lifecycle Management Server 1.3:rubygem-passenger-apache2-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Lifecycle Management Server 1.3:rubygem-passenger-nginx-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Studio Onsite 1.3:rubygem-passenger-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Studio Onsite 1.3:rubygem-passenger-nginx-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE WebYast 1.3:rubygem-passenger-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE WebYast 1.3:rubygem-passenger-nginx-3.0.14-0.14.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2016/suse-su-20160042-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2013-4136.html</URL>
        <Description>CVE-2013-4136</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/624673</URL>
        <Description>SUSE Bug 624673</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/919726</URL>
        <Description>SUSE Bug 919726</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">agent/Core/Controller/SendRequest.cpp in Phusion Passenger before 4.0.60 and 5.0.x before 5.0.22, when used in Apache integration mode or in standalone mode without a filtering proxy, allows remote attackers to spoof headers passed to applications by using an _ (underscore) character instead of a - (dash) character in an HTTP header, as demonstrated by an X_User header.</Note>
    </Notes>
    <CVE>CVE-2015-7519</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Lifecycle Management Server 1.3:rubygem-passenger-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Lifecycle Management Server 1.3:rubygem-passenger-apache2-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Lifecycle Management Server 1.3:rubygem-passenger-nginx-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Studio Onsite 1.3:rubygem-passenger-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE Studio Onsite 1.3:rubygem-passenger-nginx-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE WebYast 1.3:rubygem-passenger-3.0.14-0.14.1</ProductID>
        <ProductID>SUSE WebYast 1.3:rubygem-passenger-nginx-3.0.14-0.14.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.9</BaseScore>
        <Vector>AV:N/AC:M/Au:S/C:P/I:P/A:N</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2016/suse-su-20160042-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-7519.html</URL>
        <Description>CVE-2015-7519</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/956281</URL>
        <Description>SUSE Bug 956281</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
