<?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 libzypp, zypper</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2018:2555-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-08-30T06:44:57Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-08-30T06:44:57Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-08-30T06:44:57Z</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 libzypp, zypper</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for libzypp, zypper provides the following fixes:

libzypp security fixes:

- CVE-2018-7685: Validate RPMs before caching (bsc#1091624, bsc#1088705)
- CVE-2017-9269: Be sure bad packages do not stay in the cache (bsc#1045735)
- CVE-2017-7435, CVE-2017-7436, CVE-2017-9269: Fix repo gpg check workflows,
  mainly for unsigned repos and packages (bsc#1045735, bsc#1038984)

libzypp changes:

- RepoManager: Explicitly request repo2solv to generate application pseudo packages.
- Prefer calling 'repo2solv' rather than 'repo2solv.sh'.
- libzypp-devel should not require cmake. (bsc#1101349)
- HardLocksFile: Prevent against empty commit without Target having been loaded. (bsc#1096803)
- Avoid zombie tar processes. (bsc#1076192)
- man: Make sure that '--config FILE' affects zypper.conf, not zypp.conf. (bsc#1100028)
- ansi.h: Prevent ESC sequence strings from going out of scope. (bsc#1092413)
- RepoInfo: add enum GpgCheck for convenient gpgcheck mode handling (bsc#1045735)
- repo refresh: Re-probe if the repository type changes (bsc#1048315)
- Use common workflow for downloading packages and srcpackages. This includes a
  common way of handling and reporting gpg signature and checks. (bsc#1037210)
- PackageProvider: as well support downloading SrcPackage (for bsc#1037210)
- Adapt to work with GnuPG 2.1.23 (bsc#1054088)
  Use 'gpg --list-packets' to determine the keyid to verify a signature.
- Handle http error 502 Bad Gateway in curl backend (bsc#1070851)

zypper security fixes:

- Improve signature check callback messages (bsc#1045735, CVE-2017-9269)
- add/modify repo: Add options to tune the GPG check settings (bsc#1045735, CVE-2017-9269)
- Adapt download callback to report and handle unsigned packages (bsc#1038984, CVE-2017-7436)

zypper changes:

- download: fix crash when non-package types are passed as argument (bsc#1037210)
- XML &lt;install-summary&gt; attribute `packages-to-change` added (bsc#1102429)
</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-SAP-12-SP1-2018-1792,SUSE-SLE-SERVER-12-SP1-2018-1792</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/2018/suse-su-20182555-1/</URL>
      <Description>Link for SUSE-SU-2018:2555-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2018-August/004510.html</URL>
      <Description>E-Mail link for SUSE-SU-2018:2555-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/1037210</URL>
      <Description>SUSE Bug 1037210</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1038984</URL>
      <Description>SUSE Bug 1038984</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1045735</URL>
      <Description>SUSE Bug 1045735</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1048315</URL>
      <Description>SUSE Bug 1048315</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1054088</URL>
      <Description>SUSE Bug 1054088</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1070851</URL>
      <Description>SUSE Bug 1070851</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1076192</URL>
      <Description>SUSE Bug 1076192</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1088705</URL>
      <Description>SUSE Bug 1088705</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1091624</URL>
      <Description>SUSE Bug 1091624</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1092413</URL>
      <Description>SUSE Bug 1092413</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1096803</URL>
      <Description>SUSE Bug 1096803</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1100028</URL>
      <Description>SUSE Bug 1100028</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1101349</URL>
      <Description>SUSE Bug 1101349</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1102429</URL>
      <Description>SUSE Bug 1102429</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-7435/</URL>
      <Description>SUSE CVE CVE-2017-7435 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-7436/</URL>
      <Description>SUSE CVE CVE-2017-7436 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-9269/</URL>
      <Description>SUSE CVE CVE-2017-9269 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-7685/</URL>
      <Description>SUSE CVE CVE-2018-7685 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP1-LTSS">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP1-LTSS">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP1-LTSS" CPE="cpe:/o:suse:sles-ltss:12:sp1">SUSE Linux Enterprise Server 12 SP1-LTSS</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="libzypp-15.25.17-46.22.1">
      <FullProductName ProductID="libzypp-15.25.17-46.22.1">libzypp-15.25.17-46.22.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="zypper-1.12.59-46.10.1">
      <FullProductName ProductID="zypper-1.12.59-46.10.1">zypper-1.12.59-46.10.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="zypper-log-1.12.59-46.10.1">
      <FullProductName ProductID="zypper-log-1.12.59-46.10.1">zypper-log-1.12.59-46.10.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libzypp-15.25.17-46.22.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP1-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP1-LTSS:libzypp-15.25.17-46.22.1">libzypp-15.25.17-46.22.1 as a component of SUSE Linux Enterprise Server 12 SP1-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="zypper-1.12.59-46.10.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP1-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP1-LTSS:zypper-1.12.59-46.10.1">zypper-1.12.59-46.10.1 as a component of SUSE Linux Enterprise Server 12 SP1-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="zypper-log-1.12.59-46.10.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP1-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP1-LTSS:zypper-log-1.12.59-46.10.1">zypper-log-1.12.59-46.10.1 as a component of SUSE Linux Enterprise Server 12 SP1-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="libzypp-15.25.17-46.22.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:libzypp-15.25.17-46.22.1">libzypp-15.25.17-46.22.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="zypper-1.12.59-46.10.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:zypper-1.12.59-46.10.1">zypper-1.12.59-46.10.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP1</FullProductName>
    </Relationship>
    <Relationship ProductReference="zypper-log-1.12.59-46.10.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:zypper-log-1.12.59-46.10.1">zypper-log-1.12.59-46.10.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">In libzypp before 20170803 it was possible to add unsigned YUM repositories without warning to the user that could lead to man in the middle or malicious servers to inject malicious RPM packages into a users system.</Note>
    </Notes>
    <CVE>CVE-2017-7435</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:libzypp-15.25.17-46.22.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:zypper-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:zypper-log-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:libzypp-15.25.17-46.22.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:zypper-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:zypper-log-1.12.59-46.10.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>7.6</BaseScore>
        <Vector>AV:N/AC:H/Au:N/C:C/I:C/A:C</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/2018/suse-su-20182555-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-7435.html</URL>
        <Description>CVE-2017-7435</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1009127</URL>
        <Description>SUSE Bug 1009127</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1038984</URL>
        <Description>SUSE Bug 1038984</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1045735</URL>
        <Description>SUSE Bug 1045735</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">In libzypp before 20170803 it was possible to retrieve unsigned packages without a warning to the user which could lead to man in the middle or malicious servers to inject malicious RPM packages into a users system.</Note>
    </Notes>
    <CVE>CVE-2017-7436</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:libzypp-15.25.17-46.22.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:zypper-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:zypper-log-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:libzypp-15.25.17-46.22.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:zypper-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:zypper-log-1.12.59-46.10.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>7.6</BaseScore>
        <Vector>AV:N/AC:H/Au:N/C:C/I:C/A:C</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/2018/suse-su-20182555-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-7436.html</URL>
        <Description>CVE-2017-7436</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1008325</URL>
        <Description>SUSE Bug 1008325</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1009127</URL>
        <Description>SUSE Bug 1009127</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1038984</URL>
        <Description>SUSE Bug 1038984</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1045735</URL>
        <Description>SUSE Bug 1045735</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">In libzypp before August 2018 GPG keys attached to YUM repositories were not correctly pinned, allowing malicious repository mirrors to silently downgrade to unsigned repositories with potential malicious content.</Note>
    </Notes>
    <CVE>CVE-2017-9269</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:libzypp-15.25.17-46.22.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:zypper-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:zypper-log-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:libzypp-15.25.17-46.22.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:zypper-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:zypper-log-1.12.59-46.10.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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/2018/suse-su-20182555-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-9269.html</URL>
        <Description>CVE-2017-9269</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1038984</URL>
        <Description>SUSE Bug 1038984</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1045735</URL>
        <Description>SUSE Bug 1045735</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The decoupled download and installation steps in libzypp before 17.5.0 could lead to a corrupted RPM being left in the cache, where a later call would not display the corrupted RPM warning and allow installation, a problem caused by malicious warnings only displayed during download.</Note>
    </Notes>
    <CVE>CVE-2018-7685</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:libzypp-15.25.17-46.22.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:zypper-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP1-LTSS:zypper-log-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:libzypp-15.25.17-46.22.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:zypper-1.12.59-46.10.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP1:zypper-log-1.12.59-46.10.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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/2018/suse-su-20182555-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-7685.html</URL>
        <Description>CVE-2018-7685</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1045735</URL>
        <Description>SUSE Bug 1045735</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1088705</URL>
        <Description>SUSE Bug 1088705</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1091624</URL>
        <Description>SUSE Bug 1091624</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
