<?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 python-requests</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:0114-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2016-01-13T20:05:42Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2016-01-13T20:05:42Z</InitialReleaseDate>
    <CurrentReleaseDate>2016-01-13T20:05:42Z</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 python-requests</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
The python-requests module has been updated to version 2.8.1, which brings several
fixes and enhancements:

- Fix handling of cookies on redirect. Previously a cookie without a host value set
  would use the hostname for the redirected URL exposing requests users to session
  fixation attacks and potentially cookie stealing. (bsc#922448, CVE-2015-2296)

- Add support for per-host proxies. This allows the proxies dictionary to have entries
  of the form {'&lt;scheme&gt;://&lt;hostname&gt;': '&lt;proxy&gt;'}. Host-specific
  proxies will be used in preference to the previously-supported scheme-specific ones,
  but the previous syntax will continue to work.
- Update certificate bundle to match 'certifi' 2015.9.6.2's weak certificate bundle.
- Response.raise_for_status now prints the URL that failed as part of the exception message.
- requests.utils.get_netrc_auth now takes an raise_errors kwarg, defaulting to False.
  When True, errors parsing .netrc files cause exceptions to be thrown.
- Change to bundled projects import logic to make it easier to unbundle requests downstream.
- Change the default User-Agent string to avoid leaking data on Linux: now contains only
  the requests version.
- The json parameter to post() and friends will now only be used if neither data nor files
  are present, consistent with the documentation.
- Empty fields in the NO_PROXY environment variable are now ignored.
- Fix problem where httplib.BadStatusLine would get raised if combining stream=True with
  contextlib.closing.
- Prevent bugs where we would attempt to return the same connection back to the connection
  pool twice when sending a Chunked body.
- Digest Auth support is now thread safe.
- Resolved several bugs involving chunked transfer encoding and response framing.
- Copy a PreparedRequest's CookieJar more reliably.
- Support bytearrays when passed as parameters in the 'files' argument.
- Avoid data duplication when creating a request with 'str', 'bytes', or 'bytearray'
  input to the 'files' argument.
- 'Connection: keep-alive' header is now sent automatically.
- Support for connect timeouts. Timeout now accepts a tuple (connect, read) which is
  used to set individual connect and read timeouts.

For a comprehensive list of changes please refer to the package's change log or the
Release Notes at http://docs.python-requests.org/en/latest/community/updates/#id3
</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">SUSE-SLE-DESKTOP-12-SP1-2016-80,SUSE-SLE-HA-12-2016-80,SUSE-SLE-Module-Public-Cloud-12-2016-80,SUSE-SLE-SERVER-12-2016-80,SUSE-SLE-SERVER-12-SP1-2016-80,SUSE-SLE12-CLOUD-5-2016-80,SUSE-Storage-1.0-2016-80,SUSE-Storage-2-2016-80</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-20160114-1/</URL>
      <Description>Link for SUSE-SU-2016:0114-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2016-January/001801.html</URL>
      <Description>E-Mail link for SUSE-SU-2016:0114-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/922448</URL>
      <Description>SUSE Bug 922448</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/929736</URL>
      <Description>SUSE Bug 929736</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/961596</URL>
      <Description>SUSE Bug 961596</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2015-2296/</URL>
      <Description>SUSE CVE CVE-2015-2296 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5">
      <Branch Type="Product Name" Name="SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5">
        <FullProductName ProductID="SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5" CPE="cpe:/o:suse:suse-sle12-cloud-compute:5">SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Enterprise Storage 1.0">
      <Branch Type="Product Name" Name="SUSE Enterprise Storage 1.0">
        <FullProductName ProductID="SUSE Enterprise Storage 1.0" CPE="cpe:/o:suse:ses:1.0">SUSE Enterprise Storage 1.0</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Enterprise Storage 2">
      <Branch Type="Product Name" Name="SUSE Enterprise Storage 2">
        <FullProductName ProductID="SUSE Enterprise Storage 2" CPE="cpe:/o:suse:ses:2">SUSE Enterprise Storage 2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Desktop 12 SP1">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Desktop 12 SP1">
        <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP1" CPE="cpe:/o:suse:sled:12:sp1">SUSE Linux Enterprise Desktop 12 SP1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise High Availability Extension 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise High Availability Extension 12">
        <FullProductName ProductID="SUSE Linux Enterprise High Availability Extension 12" CPE="cpe:/o:suse:sle-ha:12">SUSE Linux Enterprise High Availability Extension 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Public Cloud 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Public Cloud 12">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Public Cloud 12" CPE="cpe:/o:suse:sle-module-public-cloud:12">SUSE Linux Enterprise Module for Public Cloud 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12" CPE="cpe:/o:suse:sles:12">SUSE Linux Enterprise Server 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP1">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP1">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP1" CPE="cpe:/o:suse:sles:12:sp1">SUSE Linux Enterprise Server 12 SP1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12" CPE="cpe:/o:suse:sles_sap:12">SUSE Linux Enterprise Server for SAP Applications 12</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP1">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP1">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP1" CPE="cpe:/o:suse:sles_sap:12:sp1">SUSE Linux Enterprise Server for SAP Applications 12 SP1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="python-requests-2.8.1-6.9.1">
      <FullProductName ProductID="python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1</FullProductName>
    </Branch>
    <Relationship ProductReference="python-requests-2.8.1-6.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5">
      <FullProductName ProductID="SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5:python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1 as a component of SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-requests-2.8.1-6.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Enterprise Storage 1.0">
      <FullProductName ProductID="SUSE Enterprise Storage 1.0:python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1 as a component of SUSE Enterprise Storage 1.0</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-requests-2.8.1-6.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Enterprise Storage 2">
      <FullProductName ProductID="SUSE Enterprise Storage 2:python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1 as a component of SUSE Enterprise Storage 2</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-requests-2.8.1-6.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP1">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP1:python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1 as a component of SUSE Linux Enterprise Desktop 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-requests-2.8.1-6.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise High Availability Extension 12">
      <FullProductName ProductID="SUSE Linux Enterprise High Availability Extension 12:python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1 as a component of SUSE Linux Enterprise High Availability Extension 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-requests-2.8.1-6.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Public Cloud 12">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Public Cloud 12:python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1 as a component of SUSE Linux Enterprise Module for Public Cloud 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-requests-2.8.1-6.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12:python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1 as a component of SUSE Linux Enterprise Server 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-requests-2.8.1-6.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP1">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP1:python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1 as a component of SUSE Linux Enterprise Server 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-requests-2.8.1-6.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12:python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-requests-2.8.1-6.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP1">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP1:python-requests-2.8.1-6.9.1">python-requests-2.8.1-6.9.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP1</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">The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a redirect.</Note>
    </Notes>
    <CVE>CVE-2015-2296</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5:python-requests-2.8.1-6.9.1</ProductID>
        <ProductID>SUSE Enterprise Storage 1.0:python-requests-2.8.1-6.9.1</ProductID>
        <ProductID>SUSE Enterprise Storage 2:python-requests-2.8.1-6.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP1:python-requests-2.8.1-6.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise High Availability Extension 12:python-requests-2.8.1-6.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Public Cloud 12:python-requests-2.8.1-6.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP1:python-requests-2.8.1-6.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12:python-requests-2.8.1-6.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:python-requests-2.8.1-6.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12:python-requests-2.8.1-6.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>1.8</BaseScore>
        <Vector>AV:A/AC:H/Au:N/C:P/I:N/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-20160114-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-2296.html</URL>
        <Description>CVE-2015-2296</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/922448</URL>
        <Description>SUSE Bug 922448</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/926396</URL>
        <Description>SUSE Bug 926396</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
