<?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-bundler</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2015:0795-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2015-03-11T16:15:22Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2015-03-11T16:15:22Z</InitialReleaseDate>
    <CurrentReleaseDate>2015-03-11T16:15:22Z</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-bundler</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
The Rubygem Bundler was updated to version 1.7.0.

Bundler 1.7 is a security-only release to address CVE-2013-0334, a 
vulnerability where a gem might be installed from an unintended source 
server, particularly while using both rubygems.org and gems.github.com.

Upstream changes entry with more explanations:

Any Gemfile with multiple top-level source lines cannot reliably control 
the gem server that a particular gem is fetched from. As a result, Bundler 
might install the wrong gem if more than one source provides a gem with the 
same name.

This is especially possible in the case of Github's legacy gem server, 
hosted at gems.github.com. An attacker might create a malicious gem on 
Rubygems.org with the same name as a commonly-used Github gem. From that 
point forward, running bundle install might result in the malicious gem 
being used instead of the expected gem.

To mitigate this, the Bundler and Rubygems.org teams worked together to 
copy almost every gem hosted on gems.github.com to rubygems.org, reducing 
the number of gems that can be used for such an attack.

Resolution:

To resolve this issue, upgrade to Bundler 1.7 by running gem install 
bundler. The next time you run bundle install for any Gemfile that contains 
multiple sources, each gem available from multiple sources will print a 
warning.

For every warning printed, edit the Gemfile to either specify a :source 
option for that gem, or move the gem line into a block that is passed to a 
source method call.

For detailed information about the changes to how sources are handled in 
Bundler version 1.7, see the release announcement.

Security Issues:

    * CVE-2013-0334
      &lt;http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0334&gt;

</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">sdksp3-rubygem-bundler,sleclo40sp3-rubygem-bundler,slehasp3-rubygem-bundler,sleslms13-rubygem-bundler,slestso13-rubygem-bundler,slestso13-rubygem-bundler19,slewyst13-rubygem-bundler</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/2015/suse-su-20150795-1/</URL>
      <Description>Link for SUSE-SU-2015:0795-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2015-April/001365.html</URL>
      <Description>E-Mail link for SUSE-SU-2015:0795-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/898205</URL>
      <Description>SUSE Bug 898205</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2013-0334/</URL>
      <Description>SUSE CVE CVE-2013-0334 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 Linux Enterprise High Availability Extension 11 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise High Availability Extension 11 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise High Availability Extension 11 SP3" CPE="cpe:/a:suse:sle-hae:11:sp3">SUSE Linux Enterprise High Availability Extension 11 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Software Development Kit 11 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 11 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 11 SP3" CPE="cpe:/a:suse:sle-sdk:11:sp3">SUSE Linux Enterprise Software Development Kit 11 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE OpenStack Cloud 4">
      <Branch Type="Product Name" Name="SUSE OpenStack Cloud 4">
        <FullProductName ProductID="SUSE OpenStack Cloud 4" CPE="cpe:/o:suse:cloud:4">SUSE OpenStack Cloud 4</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-bundler-1.7.0-0.7.1">
      <FullProductName ProductID="rubygem-bundler-1.7.0-0.7.1">rubygem-bundler-1.7.0-0.7.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rubygem-bundler19-1.7.0-0.12.1">
      <FullProductName ProductID="rubygem-bundler19-1.7.0-0.12.1">rubygem-bundler19-1.7.0-0.12.1</FullProductName>
    </Branch>
    <Relationship ProductReference="rubygem-bundler-1.7.0-0.7.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Lifecycle Management Server 1.3">
      <FullProductName ProductID="SUSE Lifecycle Management Server 1.3:rubygem-bundler-1.7.0-0.7.1">rubygem-bundler-1.7.0-0.7.1 as a component of SUSE Lifecycle Management Server 1.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-bundler-1.7.0-0.7.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise High Availability Extension 11 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise High Availability Extension 11 SP3:rubygem-bundler-1.7.0-0.7.1">rubygem-bundler-1.7.0-0.7.1 as a component of SUSE Linux Enterprise High Availability Extension 11 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-bundler-1.7.0-0.7.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 11 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 11 SP3:rubygem-bundler-1.7.0-0.7.1">rubygem-bundler-1.7.0-0.7.1 as a component of SUSE Linux Enterprise Software Development Kit 11 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-bundler-1.7.0-0.7.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 4">
      <FullProductName ProductID="SUSE OpenStack Cloud 4:rubygem-bundler-1.7.0-0.7.1">rubygem-bundler-1.7.0-0.7.1 as a component of SUSE OpenStack Cloud 4</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-bundler-1.7.0-0.7.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Studio Onsite 1.3">
      <FullProductName ProductID="SUSE Studio Onsite 1.3:rubygem-bundler-1.7.0-0.7.1">rubygem-bundler-1.7.0-0.7.1 as a component of SUSE Studio Onsite 1.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-bundler19-1.7.0-0.12.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Studio Onsite 1.3">
      <FullProductName ProductID="SUSE Studio Onsite 1.3:rubygem-bundler19-1.7.0-0.12.1">rubygem-bundler19-1.7.0-0.12.1 as a component of SUSE Studio Onsite 1.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rubygem-bundler-1.7.0-0.7.1" RelationType="Default Component Of" RelatesToProductReference="SUSE WebYast 1.3">
      <FullProductName ProductID="SUSE WebYast 1.3:rubygem-bundler-1.7.0-0.7.1">rubygem-bundler-1.7.0-0.7.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">Bundler before 1.7, when multiple top-level source lines are used, allows remote attackers to install arbitrary gems by creating a gem with the same name as another gem in a different source.</Note>
    </Notes>
    <CVE>CVE-2013-0334</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Lifecycle Management Server 1.3:rubygem-bundler-1.7.0-0.7.1</ProductID>
        <ProductID>SUSE Linux Enterprise High Availability Extension 11 SP3:rubygem-bundler-1.7.0-0.7.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 11 SP3:rubygem-bundler-1.7.0-0.7.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 4:rubygem-bundler-1.7.0-0.7.1</ProductID>
        <ProductID>SUSE Studio Onsite 1.3:rubygem-bundler-1.7.0-0.7.1</ProductID>
        <ProductID>SUSE Studio Onsite 1.3:rubygem-bundler19-1.7.0-0.12.1</ProductID>
        <ProductID>SUSE WebYast 1.3:rubygem-bundler-1.7.0-0.7.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/2015/suse-su-20150795-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2013-0334.html</URL>
        <Description>CVE-2013-0334</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/898205</URL>
        <Description>SUSE Bug 898205</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/922719</URL>
        <Description>SUSE Bug 922719</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
