<?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">Fixing security issues on OBS toolchain</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:0065-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-01-11T10:25:14Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-01-11T10:25:14Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-01-11T10:25: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">Fixing security issues on OBS toolchain</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This OBS toolchain update fixes the following issues:

Package 'build':

- CVE-2017-14804: Improve file name check extractbuild (bsc#1069904)
- Fixed Dockerfile repository parsing

Package 'obs-service-source_validator':

- CVE-2017-9274: Don't use rpmbuild to extract sources, patches etc. from a spec (bnc#938556).
- CVE-2016-4007: Several maintained source services are vulnerable to code/paramter injection (bsc#967265)
- Update to version 0.7.
- Use spec_query instead of output_versions using the specfile parser from the build package (boo#1059858)
- obs-service-source_validator: several occurrences of uninitialized value (bsc#967610)
- hack for util-linux specfiles (bnc#891829)
- fix dependency to gnupg2 for Fedora (bnc#827480)
- exit if tmpdir creation fails (bnc#796918)


Package 'osc':

- Update to version 0.162.0.
</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">sdksp4-build-13404</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-20180065-1/</URL>
      <Description>Link for SUSE-SU-2018:0065-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/opensuse-security-announce/2018-01/msg00030.html</URL>
      <Description>E-Mail link for SUSE-SU-2018:0065-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/1059858</URL>
      <Description>SUSE Bug 1059858</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1069904</URL>
      <Description>SUSE Bug 1069904</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/796918</URL>
      <Description>SUSE Bug 796918</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/827480</URL>
      <Description>SUSE Bug 827480</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/891829</URL>
      <Description>SUSE Bug 891829</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/938556</URL>
      <Description>SUSE Bug 938556</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/967265</URL>
      <Description>SUSE Bug 967265</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/967610</URL>
      <Description>SUSE Bug 967610</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2016-4007/</URL>
      <Description>SUSE CVE CVE-2016-4007 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-14804/</URL>
      <Description>SUSE CVE CVE-2017-14804 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-9274/</URL>
      <Description>SUSE CVE CVE-2017-9274 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Software Development Kit 11 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 11 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 11 SP4" CPE="cpe:/a:suse:sle-sdk:11:sp4">SUSE Linux Enterprise Software Development Kit 11 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="build-20171128-8.3.3">
      <FullProductName ProductID="build-20171128-8.3.3">build-20171128-8.3.3</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="osc-0.162.1-7.4.1">
      <FullProductName ProductID="osc-0.162.1-7.4.1">osc-0.162.1-7.4.1</FullProductName>
    </Branch>
    <Relationship ProductReference="build-20171128-8.3.3" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 11 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 11 SP4:build-20171128-8.3.3">build-20171128-8.3.3 as a component of SUSE Linux Enterprise Software Development Kit 11 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="osc-0.162.1-7.4.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 11 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 11 SP4:osc-0.162.1-7.4.1">osc-0.162.1-7.4.1 as a component of SUSE Linux Enterprise Software Development Kit 11 SP4</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">Multiple unspecified vulnerabilities in the obs-service-extract_file package before 0.3-5.1 in openSUSE Leap 42.1 and before 0.3-3.1 in openSUSE 13.2 allow attackers to execute arbitrary commands via a service definition, related to executing unzip with "illegal options."</Note>
    </Notes>
    <CVE>CVE-2016-4007</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Software Development Kit 11 SP4:build-20171128-8.3.3</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 11 SP4:osc-0.162.1-7.4.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.6</BaseScore>
        <Vector>AV:L/AC:M/Au:S/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-20180065-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-4007.html</URL>
        <Description>CVE-2016-4007</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/967265</URL>
        <Description>SUSE Bug 967265</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">The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.</Note>
    </Notes>
    <CVE>CVE-2017-14804</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Software Development Kit 11 SP4:build-20171128-8.3.3</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 11 SP4:osc-0.162.1-7.4.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>8.5</BaseScore>
        <Vector>AV:N/AC:M/Au:S/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-20180065-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-14804.html</URL>
        <Description>CVE-2017-14804</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1069904</URL>
        <Description>SUSE Bug 1069904</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">A shell command injection in the obs-service-source_validator before 0.7 could be used to execute code as the packager when checking RPM SPEC files with specific macro constructs.</Note>
    </Notes>
    <CVE>CVE-2017-9274</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Software Development Kit 11 SP4:build-20171128-8.3.3</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 11 SP4:osc-0.162.1-7.4.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-20180065-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-9274.html</URL>
        <Description>CVE-2017-9274</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/938556</URL>
        <Description>SUSE Bug 938556</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
