<?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</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2016:1885-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2016-07-27T13:25:50Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2016-07-27T13:25:50Z</InitialReleaseDate>
    <CurrentReleaseDate>2016-07-27T13:25:50Z</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</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">Python was updated to fix three security issues.

The following vulnerabilities were fixed:

- CVE-2016-0772: TLS stripping attack on smtplib (bsc#984751)
- CVE-2016-5636: zipimporter heap overflow (bsc#985177)
- CVE-2016-5699: httplib header injection (bsc#985348)

This update also includes all upstream bug fixes and improvements in Python 2.7.12.

It also includes the following packaging changes:

- reintroduce support for CA directory path

The following tracked packaging issues were fixed:

- broken overflow checks (bsc#964182)</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>
  </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://lists.opensuse.org/opensuse-updates/2016-07/msg00084.html</URL>
      <Description>E-Mail link for openSUSE-SU-2016:1885-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 42.1">
      <Branch Type="Product Name" Name="openSUSE Leap 42.1">
        <FullProductName ProductID="openSUSE Leap 42.1">openSUSE Leap 42.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libpython2_7-1_0-2.7.12-23.1">
      <FullProductName ProductID="libpython2_7-1_0-2.7.12-23.1">libpython2_7-1_0-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpython2_7-1_0-32bit-2.7.12-23.1">
      <FullProductName ProductID="libpython2_7-1_0-32bit-2.7.12-23.1">libpython2_7-1_0-32bit-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-2.7.12-23.1">
      <FullProductName ProductID="python-2.7.12-23.1">python-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-32bit-2.7.12-23.1">
      <FullProductName ProductID="python-32bit-2.7.12-23.1">python-32bit-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-base-2.7.12-23.1">
      <FullProductName ProductID="python-base-2.7.12-23.1">python-base-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-base-32bit-2.7.12-23.1">
      <FullProductName ProductID="python-base-32bit-2.7.12-23.1">python-base-32bit-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-curses-2.7.12-23.1">
      <FullProductName ProductID="python-curses-2.7.12-23.1">python-curses-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-demo-2.7.12-23.1">
      <FullProductName ProductID="python-demo-2.7.12-23.1">python-demo-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-devel-2.7.12-23.1">
      <FullProductName ProductID="python-devel-2.7.12-23.1">python-devel-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-doc-2.7.12-23.1">
      <FullProductName ProductID="python-doc-2.7.12-23.1">python-doc-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-doc-pdf-2.7.12-23.1">
      <FullProductName ProductID="python-doc-pdf-2.7.12-23.1">python-doc-pdf-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-gdbm-2.7.12-23.1">
      <FullProductName ProductID="python-gdbm-2.7.12-23.1">python-gdbm-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-idle-2.7.12-23.1">
      <FullProductName ProductID="python-idle-2.7.12-23.1">python-idle-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-tk-2.7.12-23.1">
      <FullProductName ProductID="python-tk-2.7.12-23.1">python-tk-2.7.12-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-xml-2.7.12-23.1">
      <FullProductName ProductID="python-xml-2.7.12-23.1">python-xml-2.7.12-23.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libpython2_7-1_0-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libpython2_7-1_0-2.7.12-23.1">libpython2_7-1_0-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpython2_7-1_0-32bit-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libpython2_7-1_0-32bit-2.7.12-23.1">libpython2_7-1_0-32bit-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-2.7.12-23.1">python-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-32bit-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-32bit-2.7.12-23.1">python-32bit-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-base-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-base-2.7.12-23.1">python-base-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-base-32bit-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-base-32bit-2.7.12-23.1">python-base-32bit-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-curses-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-curses-2.7.12-23.1">python-curses-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-demo-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-demo-2.7.12-23.1">python-demo-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-devel-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-devel-2.7.12-23.1">python-devel-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-doc-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-doc-2.7.12-23.1">python-doc-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-doc-pdf-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-doc-pdf-2.7.12-23.1">python-doc-pdf-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-gdbm-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-gdbm-2.7.12-23.1">python-gdbm-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-idle-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-idle-2.7.12-23.1">python-idle-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-tk-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-tk-2.7.12-23.1">python-tk-2.7.12-23.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-xml-2.7.12-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:python-xml-2.7.12-23.1">python-xml-2.7.12-23.1 as a component of openSUSE Leap 42.1</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 smtplib library in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 does not return an error when StartTLS fails, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack."</Note>
    </Notes>
    <CVE>CVE-2016-0772</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:libpython2_7-1_0-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpython2_7-1_0-32bit-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-32bit-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-base-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-base-32bit-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-curses-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-demo-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-devel-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-doc-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-doc-pdf-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-gdbm-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-idle-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-tk-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-xml-2.7.12-23.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5.8</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:P/I:P/A:N</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2016-07/msg00084.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-0772.html</URL>
        <Description>CVE-2016-0772</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/984751</URL>
        <Description>SUSE Bug 984751</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">Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 allows remote attackers to have unspecified impact via a negative data size value, which triggers a heap-based buffer overflow.</Note>
    </Notes>
    <CVE>CVE-2016-5636</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:libpython2_7-1_0-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpython2_7-1_0-32bit-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-32bit-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-base-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-base-32bit-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-curses-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-demo-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-devel-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-doc-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-doc-pdf-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-gdbm-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-idle-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-tk-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-xml-2.7.12-23.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.4</BaseScore>
        <Vector>AV:L/AC:M/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2016-07/msg00084.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-5636.html</URL>
        <Description>CVE-2016-5636</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1065451</URL>
        <Description>SUSE Bug 1065451</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1095424</URL>
        <Description>SUSE Bug 1095424</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1106262</URL>
        <Description>SUSE Bug 1106262</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/985177</URL>
        <Description>SUSE Bug 985177</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">CRLF injection vulnerability in the HTTPConnection.putheader function in urllib2 and urllib in CPython (aka Python) before 2.7.10 and 3.x before 3.4.4 allows remote attackers to inject arbitrary HTTP headers via CRLF sequences in a URL.</Note>
    </Notes>
    <CVE>CVE-2016-5699</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:libpython2_7-1_0-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libpython2_7-1_0-32bit-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-32bit-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-base-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-base-32bit-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-curses-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-demo-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-devel-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-doc-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-doc-pdf-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-gdbm-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-idle-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-tk-2.7.12-23.1</ProductID>
        <ProductID>openSUSE Leap 42.1:python-xml-2.7.12-23.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:N/I:P/A:N</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2016-07/msg00084.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-5699.html</URL>
        <Description>CVE-2016-5699</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1122729</URL>
        <Description>SUSE Bug 1122729</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1130840</URL>
        <Description>SUSE Bug 1130840</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/985348</URL>
        <Description>SUSE Bug 985348</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/985351</URL>
        <Description>SUSE Bug 985351</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/986630</URL>
        <Description>SUSE Bug 986630</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
