<?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, python-base</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2018:3703-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-11-09T19:59:54Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-11-09T19:59:54Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-11-09T19:59:54Z</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, python-base</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for python, python-base fixes the following issues:

Security issues fixed:

- CVE-2018-1000802: Prevent command injection in shutil module (make_archive
  function) via passage of unfiltered user input (bsc#1109663).
- CVE-2018-1061: Fixed DoS via regular expression backtracking in
  difflib.IS_LINE_JUNK method in difflib (bsc#1088004).
- CVE-2018-1060: Fixed DoS via regular expression catastrophic backtracking in
  apop() method in pop3lib (bsc#1088009).

Bug fixes:

- bsc#1086001: python tarfile uses random order.

This update was imported from the SUSE:SLE-12-SP1:Update update project.</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-security-announce/2018-11/msg00011.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:3703-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.3">
      <Branch Type="Product Name" Name="openSUSE Leap 42.3">
        <FullProductName ProductID="openSUSE Leap 42.3">openSUSE Leap 42.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libpython2_7-1_0-2.7.13-27.9.1">
      <FullProductName ProductID="libpython2_7-1_0-2.7.13-27.9.1">libpython2_7-1_0-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpython2_7-1_0-32bit-2.7.13-27.9.1">
      <FullProductName ProductID="libpython2_7-1_0-32bit-2.7.13-27.9.1">libpython2_7-1_0-32bit-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-2.7.13-27.9.1">
      <FullProductName ProductID="python-2.7.13-27.9.1">python-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-32bit-2.7.13-27.9.1">
      <FullProductName ProductID="python-32bit-2.7.13-27.9.1">python-32bit-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-base-2.7.13-27.9.1">
      <FullProductName ProductID="python-base-2.7.13-27.9.1">python-base-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-base-32bit-2.7.13-27.9.1">
      <FullProductName ProductID="python-base-32bit-2.7.13-27.9.1">python-base-32bit-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-curses-2.7.13-27.9.1">
      <FullProductName ProductID="python-curses-2.7.13-27.9.1">python-curses-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-demo-2.7.13-27.9.1">
      <FullProductName ProductID="python-demo-2.7.13-27.9.1">python-demo-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-devel-2.7.13-27.9.1">
      <FullProductName ProductID="python-devel-2.7.13-27.9.1">python-devel-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-doc-2.7.13-27.9.1">
      <FullProductName ProductID="python-doc-2.7.13-27.9.1">python-doc-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-doc-pdf-2.7.13-27.9.1">
      <FullProductName ProductID="python-doc-pdf-2.7.13-27.9.1">python-doc-pdf-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-gdbm-2.7.13-27.9.1">
      <FullProductName ProductID="python-gdbm-2.7.13-27.9.1">python-gdbm-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-idle-2.7.13-27.9.1">
      <FullProductName ProductID="python-idle-2.7.13-27.9.1">python-idle-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-tk-2.7.13-27.9.1">
      <FullProductName ProductID="python-tk-2.7.13-27.9.1">python-tk-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-xml-2.7.13-27.9.1">
      <FullProductName ProductID="python-xml-2.7.13-27.9.1">python-xml-2.7.13-27.9.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libpython2_7-1_0-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libpython2_7-1_0-2.7.13-27.9.1">libpython2_7-1_0-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpython2_7-1_0-32bit-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libpython2_7-1_0-32bit-2.7.13-27.9.1">libpython2_7-1_0-32bit-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-2.7.13-27.9.1">python-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-32bit-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-32bit-2.7.13-27.9.1">python-32bit-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-base-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-base-2.7.13-27.9.1">python-base-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-base-32bit-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-base-32bit-2.7.13-27.9.1">python-base-32bit-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-curses-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-curses-2.7.13-27.9.1">python-curses-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-demo-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-demo-2.7.13-27.9.1">python-demo-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-devel-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-devel-2.7.13-27.9.1">python-devel-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-doc-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-doc-2.7.13-27.9.1">python-doc-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-doc-pdf-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-doc-pdf-2.7.13-27.9.1">python-doc-pdf-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-gdbm-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-gdbm-2.7.13-27.9.1">python-gdbm-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-idle-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-idle-2.7.13-27.9.1">python-idle-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-tk-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-tk-2.7.13-27.9.1">python-tk-2.7.13-27.9.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-xml-2.7.13-27.9.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:python-xml-2.7.13-27.9.1">python-xml-2.7.13-27.9.1 as a component of openSUSE Leap 42.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">Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in shutil module (make_archive function) that can result in Denial of service, Information gain via injection of arbitrary files on the system or entire drive. This attack appear to be exploitable via Passage of unfiltered user input to the function. This vulnerability appears to have been fixed in after commit add531a1e55b0a739b0f42582f1c9747e5649ace.</Note>
    </Notes>
    <CVE>CVE-2018-1000802</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libpython2_7-1_0-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libpython2_7-1_0-32bit-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-32bit-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-base-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-base-32bit-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-curses-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-demo-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-devel-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-doc-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-doc-pdf-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-gdbm-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-idle-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-tk-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-xml-2.7.13-27.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2018-11/msg00011.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-1000802.html</URL>
        <Description>CVE-2018-1000802</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1109663</URL>
        <Description>SUSE Bug 1109663</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">python before versions 2.7.15, 3.4.9, 3.5.6rc1, 3.6.5rc1 and 3.7.0 is vulnerable to catastrophic backtracking in pop3lib's apop() method. An attacker could use this flaw to cause denial of service.</Note>
    </Notes>
    <CVE>CVE-2018-1060</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libpython2_7-1_0-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libpython2_7-1_0-32bit-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-32bit-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-base-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-base-32bit-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-curses-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-demo-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-devel-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-doc-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-doc-pdf-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-gdbm-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-idle-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-tk-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-xml-2.7.13-27.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2018-11/msg00011.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-1060.html</URL>
        <Description>CVE-2018-1060</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1088009</URL>
        <Description>SUSE Bug 1088009</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">python before versions 2.7.15, 3.4.9, 3.5.6rc1, 3.6.5rc1 and 3.7.0 is vulnerable to catastrophic backtracking in the difflib.IS_LINE_JUNK method.  An attacker could use this flaw to cause denial of service.</Note>
    </Notes>
    <CVE>CVE-2018-1061</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libpython2_7-1_0-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libpython2_7-1_0-32bit-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-32bit-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-base-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-base-32bit-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-curses-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-demo-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-devel-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-doc-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-doc-pdf-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-gdbm-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-idle-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-tk-2.7.13-27.9.1</ProductID>
        <ProductID>openSUSE Leap 42.3:python-xml-2.7.13-27.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-security-announce/2018-11/msg00011.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-1061.html</URL>
        <Description>CVE-2018-1061</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1088004</URL>
        <Description>SUSE Bug 1088004</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
