<?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-2020:0696-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2020-05-22T18:14:14Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2020-05-22T18:14:14Z</InitialReleaseDate>
    <CurrentReleaseDate>2020-05-22T18:14:14Z</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">This update for python fixes the following issues:

Security issues fixed:

- CVE-2019-18348: Fixed a CRLF injection via the host part of the url passed to urlopen().
  Now an InvalidURL exception is raised (bsc#1155094).
- CVE-2019-9674: Improved the documentation to reflect the dangers of zip-bombs (bsc#1162825).

This update was imported from the SUSE:SLE-15: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>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">openSUSE-2020-696</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/archives/list/security-announce@lists.opensuse.org/thread/CLCTOYU6GVRRH3LEOSXEYTZNQQGAPQSM/</URL>
      <Description>E-Mail link for openSUSE-SU-2020:0696-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/1155094</URL>
      <Description>SUSE Bug 1155094</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1162825</URL>
      <Description>SUSE Bug 1162825</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-18348/</URL>
      <Description>SUSE CVE CVE-2019-18348 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-9674/</URL>
      <Description>SUSE CVE CVE-2019-9674 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 15.1">
      <Branch Type="Product Name" Name="openSUSE Leap 15.1">
        <FullProductName ProductID="openSUSE Leap 15.1" CPE="cpe:/o:opensuse:leap:15.1">openSUSE Leap 15.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libpython2_7-1_0-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="libpython2_7-1_0-2.7.17-lp151.10.17.1">libpython2_7-1_0-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpython2_7-1_0-32bit-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="libpython2_7-1_0-32bit-2.7.17-lp151.10.17.1">libpython2_7-1_0-32bit-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-2.7.17-lp151.10.17.1">python-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-32bit-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-32bit-2.7.17-lp151.10.17.1">python-32bit-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-base-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-base-2.7.17-lp151.10.17.1">python-base-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-base-32bit-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-base-32bit-2.7.17-lp151.10.17.1">python-base-32bit-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-curses-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-curses-2.7.17-lp151.10.17.1">python-curses-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-demo-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-demo-2.7.17-lp151.10.17.1">python-demo-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-devel-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-devel-2.7.17-lp151.10.17.1">python-devel-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-doc-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-doc-2.7.17-lp151.10.17.1">python-doc-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-doc-pdf-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-doc-pdf-2.7.17-lp151.10.17.1">python-doc-pdf-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-gdbm-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-gdbm-2.7.17-lp151.10.17.1">python-gdbm-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-idle-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-idle-2.7.17-lp151.10.17.1">python-idle-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-tk-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-tk-2.7.17-lp151.10.17.1">python-tk-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-xml-2.7.17-lp151.10.17.1">
      <FullProductName ProductID="python-xml-2.7.17-lp151.10.17.1">python-xml-2.7.17-lp151.10.17.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libpython2_7-1_0-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:libpython2_7-1_0-2.7.17-lp151.10.17.1">libpython2_7-1_0-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpython2_7-1_0-32bit-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:libpython2_7-1_0-32bit-2.7.17-lp151.10.17.1">libpython2_7-1_0-32bit-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-2.7.17-lp151.10.17.1">python-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-32bit-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-32bit-2.7.17-lp151.10.17.1">python-32bit-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-base-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-base-2.7.17-lp151.10.17.1">python-base-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-base-32bit-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-base-32bit-2.7.17-lp151.10.17.1">python-base-32bit-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-curses-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-curses-2.7.17-lp151.10.17.1">python-curses-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-demo-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-demo-2.7.17-lp151.10.17.1">python-demo-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-devel-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-devel-2.7.17-lp151.10.17.1">python-devel-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-doc-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-doc-2.7.17-lp151.10.17.1">python-doc-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-doc-pdf-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-doc-pdf-2.7.17-lp151.10.17.1">python-doc-pdf-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-gdbm-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-gdbm-2.7.17-lp151.10.17.1">python-gdbm-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-idle-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-idle-2.7.17-lp151.10.17.1">python-idle-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-tk-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-tk-2.7.17-lp151.10.17.1">python-tk-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python-xml-2.7.17-lp151.10.17.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python-xml-2.7.17-lp151.10.17.1">python-xml-2.7.17-lp151.10.17.1 as a component of openSUSE Leap 15.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">An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the host component of a URL) followed by an HTTP header. This is similar to the CVE-2019-9740 query string issue and the CVE-2019-9947 path string issue. (This is not exploitable when glibc has CVE-2016-10739 fixed.). This is fixed in: v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1; v3.6.11, v3.6.11rc1, v3.6.12; v3.7.8, v3.7.8rc1, v3.7.9; v3.8.3, v3.8.3rc1, v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1.</Note>
    </Notes>
    <CVE>CVE-2019-18348</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.1:libpython2_7-1_0-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:libpython2_7-1_0-32bit-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-32bit-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-base-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-base-32bit-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-curses-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-demo-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-devel-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-doc-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-doc-pdf-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-gdbm-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-idle-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-tk-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-xml-2.7.17-lp151.10.17.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.3</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:N/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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/CLCTOYU6GVRRH3LEOSXEYTZNQQGAPQSM/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-18348.html</URL>
        <Description>CVE-2019-18348</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1155094</URL>
        <Description>SUSE Bug 1155094</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">Lib/zipfile.py in Python through 3.7.2 allows remote attackers to cause a denial of service (resource consumption) via a ZIP bomb.</Note>
    </Notes>
    <CVE>CVE-2019-9674</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.1:libpython2_7-1_0-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:libpython2_7-1_0-32bit-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-32bit-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-base-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-base-32bit-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-curses-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-demo-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-devel-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-doc-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-doc-pdf-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-gdbm-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-idle-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-tk-2.7.17-lp151.10.17.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python-xml-2.7.17-lp151.10.17.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:N/A:P</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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/CLCTOYU6GVRRH3LEOSXEYTZNQQGAPQSM/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-9674.html</URL>
        <Description>CVE-2019-9674</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1162825</URL>
        <Description>SUSE Bug 1162825</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
