<?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 rpm</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:3286-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-10-22T12:43:55Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-10-22T12:43:55Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-10-22T12:43:55Z</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 rpm</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for rpm fixes the following issues:

These security issues were fixed:

- CVE-2017-7500: rpm did not properly handle RPM installations when a
  destination path was a symbolic link to a directory, possibly changing
  ownership and permissions of an arbitrary directory, and RPM files being placed
  in an arbitrary destination (bsc#943457).
- CVE-2017-7501: rpm used temporary files with predictable names when
  installing an RPM. An attacker with ability to write in a directory where files
  will be installed could create symbolic links to an arbitrary location and
  modify content, and possibly permissions to arbitrary files, which could be
  used for denial of service or possibly privilege escalation (bsc#943457)

This non-security issue was fixed:

- Use ksym-provides tool [bsc#1077692]
</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-OpenStack-Cloud-Magnum-Orchestration-7-2018-2373,SUSE-SLE-DESKTOP-12-SP3-2018-2373,SUSE-SLE-SDK-12-SP3-2018-2373,SUSE-SLE-SERVER-12-SP3-2018-2373</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-20183286-1/</URL>
      <Description>Link for SUSE-SU-2018:3286-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2018-October/004757.html</URL>
      <Description>E-Mail link for SUSE-SU-2018:3286-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/1077692</URL>
      <Description>SUSE Bug 1077692</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/943457</URL>
      <Description>SUSE Bug 943457</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-7500/</URL>
      <Description>SUSE CVE CVE-2017-7500 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-7501/</URL>
      <Description>SUSE CVE CVE-2017-7501 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Desktop 12 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Desktop 12 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP3" CPE="cpe:/o:suse:sled:12:sp3">SUSE Linux Enterprise Desktop 12 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3" CPE="cpe:/o:suse:sles:12:sp3">SUSE Linux Enterprise Server 12 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP3" CPE="cpe:/o:suse:sles_sap:12:sp3">SUSE Linux Enterprise Server for SAP Applications 12 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Software Development Kit 12 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 12 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP3" CPE="cpe:/o:suse:sle-sdk:12:sp3">SUSE Linux Enterprise Software Development Kit 12 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="rpm-4.11.2-16.16.1">
      <FullProductName ProductID="rpm-4.11.2-16.16.1">rpm-4.11.2-16.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rpm-32bit-4.11.2-16.16.1">
      <FullProductName ProductID="rpm-32bit-4.11.2-16.16.1">rpm-32bit-4.11.2-16.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rpm-build-4.11.2-16.16.1">
      <FullProductName ProductID="rpm-build-4.11.2-16.16.1">rpm-build-4.11.2-16.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rpm-python-4.11.2-16.16.1">
      <FullProductName ProductID="rpm-python-4.11.2-16.16.1">rpm-python-4.11.2-16.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rpm-devel-4.11.2-16.16.1">
      <FullProductName ProductID="rpm-devel-4.11.2-16.16.1">rpm-devel-4.11.2-16.16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-rpm-4.11.2-16.16.1">
      <FullProductName ProductID="python3-rpm-4.11.2-16.16.1">python3-rpm-4.11.2-16.16.1</FullProductName>
    </Branch>
    <Relationship ProductReference="rpm-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP3:rpm-4.11.2-16.16.1">rpm-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Desktop 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-32bit-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP3:rpm-32bit-4.11.2-16.16.1">rpm-32bit-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Desktop 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-build-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP3:rpm-build-4.11.2-16.16.1">rpm-build-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Desktop 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-python-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP3:rpm-python-4.11.2-16.16.1">rpm-python-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Desktop 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python3-rpm-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3:python3-rpm-4.11.2-16.16.1">python3-rpm-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Server 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3:rpm-4.11.2-16.16.1">rpm-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Server 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-32bit-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3:rpm-32bit-4.11.2-16.16.1">rpm-32bit-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Server 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-build-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3:rpm-build-4.11.2-16.16.1">rpm-build-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Server 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-python-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3:rpm-python-4.11.2-16.16.1">rpm-python-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Server 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="python3-rpm-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP3:python3-rpm-4.11.2-16.16.1">python3-rpm-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-4.11.2-16.16.1">rpm-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-32bit-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-32bit-4.11.2-16.16.1">rpm-32bit-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-build-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-build-4.11.2-16.16.1">rpm-build-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-python-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-python-4.11.2-16.16.1">rpm-python-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="rpm-devel-4.11.2-16.16.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP3:rpm-devel-4.11.2-16.16.1">rpm-devel-4.11.2-16.16.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP3</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">It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changing ownership and permissions of an arbitrary directory, and RPM files being placed in an arbitrary destination. An attacker, with write access to a directory in which a subdirectory will be installed, could redirect that directory to an arbitrary location and gain root privilege.</Note>
    </Notes>
    <CVE>CVE-2017-7500</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:rpm-32bit-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:rpm-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:rpm-build-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:rpm-python-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:python3-rpm-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:rpm-32bit-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:rpm-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:rpm-build-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:rpm-python-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:python3-rpm-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-32bit-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-build-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-python-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:rpm-devel-4.11.2-16.16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:L/AC:L/Au:S/C:C/I:C/A:C</Vector>
      </ScoreSet>
      <ScoreSet>
        <BaseScore>7.2</BaseScore>
        <Vector>AV:L/AC:L/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-20183286-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-7500.html</URL>
        <Description>CVE-2017-7500</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1126909</URL>
        <Description>SUSE Bug 1126909</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1135195</URL>
        <Description>SUSE Bug 1135195</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1157882</URL>
        <Description>SUSE Bug 1157882</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1157883</URL>
        <Description>SUSE Bug 1157883</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/943457</URL>
        <Description>SUSE Bug 943457</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/964063</URL>
        <Description>SUSE Bug 964063</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">It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM. An attacker with ability to write in a directory where files will be installed could create symbolic links to an arbitrary location and modify content, and possibly permissions to arbitrary files, which could be used for denial of service or possibly privilege escalation.</Note>
    </Notes>
    <CVE>CVE-2017-7501</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:rpm-32bit-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:rpm-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:rpm-build-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:rpm-python-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:python3-rpm-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:rpm-32bit-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:rpm-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:rpm-build-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:rpm-python-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:python3-rpm-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-32bit-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-build-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:rpm-python-4.11.2-16.16.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:rpm-devel-4.11.2-16.16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:L/AC:L/Au:S/C:C/I:C/A:C</Vector>
      </ScoreSet>
      <ScoreSet>
        <BaseScore>4.6</BaseScore>
        <Vector>AV:L/AC:L/Au:N/C:P/I:P/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://www.suse.com/support/update/announcement/2018/suse-su-20183286-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-7501.html</URL>
        <Description>CVE-2017-7501</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1119217</URL>
        <Description>SUSE Bug 1119217</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1126909</URL>
        <Description>SUSE Bug 1126909</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1135195</URL>
        <Description>SUSE Bug 1135195</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1157882</URL>
        <Description>SUSE Bug 1157882</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1157883</URL>
        <Description>SUSE Bug 1157883</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/943457</URL>
        <Description>SUSE Bug 943457</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
