<?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-2017:3253-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2017-12-08T12:54:18Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2017-12-08T12:54:18Z</InitialReleaseDate>
    <CurrentReleaseDate>2017-12-08T12:54:18Z</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-2010-4226: force use of bsdtar for VMs (bnc#665768)
- CVE-2017-14804: Improve file name check extractbuild (bsc#1069904)
- switch baselibs scheme for debuginfo packages from foo-debuginfo-32bit to foo-32bit-debuginfo (fate#323217)

Package 'obs-service-source_validator':
- CVE-2017-9274: Don't use rpmbuild to extract sources, patches etc. from a spec (bnc#938556).
- Update to version 0.7
- use spec_query instead of output_versions using the specfile parser from the build package (boo#1059858)

Package 'osc':
- update to version 0.162.0
- add Recommends: ca-certificates to enable TLS verification without manually installing them. (bnc#1061500)
</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-SDK-12-SP2-2017-2028,SUSE-SLE-SDK-12-SP3-2017-2028</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/2017/suse-su-20173253-1/</URL>
      <Description>Link for SUSE-SU-2017:3253-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2017-December/003487.html</URL>
      <Description>E-Mail link for SUSE-SU-2017:3253-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/1061500</URL>
      <Description>SUSE Bug 1061500</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/665768</URL>
      <Description>SUSE Bug 665768</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/938556</URL>
      <Description>SUSE Bug 938556</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2010-4226/</URL>
      <Description>SUSE CVE CVE-2010-4226 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 12 SP2">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 12 SP2">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP2" CPE="cpe:/o:suse:sle-sdk:12:sp2">SUSE Linux Enterprise Software Development Kit 12 SP2</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="build-20171128-9.3.2">
      <FullProductName ProductID="build-20171128-9.3.2">build-20171128-9.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="build-initvm-s390-20171128-9.3.2">
      <FullProductName ProductID="build-initvm-s390-20171128-9.3.2">build-initvm-s390-20171128-9.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="build-initvm-x86_64-20171128-9.3.2">
      <FullProductName ProductID="build-initvm-x86_64-20171128-9.3.2">build-initvm-x86_64-20171128-9.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="build-mkbaselibs-20171128-9.3.2">
      <FullProductName ProductID="build-mkbaselibs-20171128-9.3.2">build-mkbaselibs-20171128-9.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="obs-service-source_validator-0.7-9.3.1">
      <FullProductName ProductID="obs-service-source_validator-0.7-9.3.1">obs-service-source_validator-0.7-9.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="osc-0.162.0-15.3.1">
      <FullProductName ProductID="osc-0.162.0-15.3.1">osc-0.162.0-15.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="build-20171128-9.3.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP2:build-20171128-9.3.2">build-20171128-9.3.2 as a component of SUSE Linux Enterprise Software Development Kit 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="build-initvm-s390-20171128-9.3.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP2:build-initvm-s390-20171128-9.3.2">build-initvm-s390-20171128-9.3.2 as a component of SUSE Linux Enterprise Software Development Kit 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="build-initvm-x86_64-20171128-9.3.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP2:build-initvm-x86_64-20171128-9.3.2">build-initvm-x86_64-20171128-9.3.2 as a component of SUSE Linux Enterprise Software Development Kit 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="build-mkbaselibs-20171128-9.3.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP2:build-mkbaselibs-20171128-9.3.2">build-mkbaselibs-20171128-9.3.2 as a component of SUSE Linux Enterprise Software Development Kit 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="obs-service-source_validator-0.7-9.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP2:obs-service-source_validator-0.7-9.3.1">obs-service-source_validator-0.7-9.3.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="osc-0.162.0-15.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP2:osc-0.162.0-15.3.1">osc-0.162.0-15.3.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="build-20171128-9.3.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP3:build-20171128-9.3.2">build-20171128-9.3.2 as a component of SUSE Linux Enterprise Software Development Kit 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="build-initvm-s390-20171128-9.3.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP3:build-initvm-s390-20171128-9.3.2">build-initvm-s390-20171128-9.3.2 as a component of SUSE Linux Enterprise Software Development Kit 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="build-initvm-x86_64-20171128-9.3.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP3:build-initvm-x86_64-20171128-9.3.2">build-initvm-x86_64-20171128-9.3.2 as a component of SUSE Linux Enterprise Software Development Kit 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="build-mkbaselibs-20171128-9.3.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP3:build-mkbaselibs-20171128-9.3.2">build-mkbaselibs-20171128-9.3.2 as a component of SUSE Linux Enterprise Software Development Kit 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="obs-service-source_validator-0.7-9.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP3:obs-service-source_validator-0.7-9.3.1">obs-service-source_validator-0.7-9.3.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="osc-0.162.0-15.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP3:osc-0.162.0-15.3.1">osc-0.162.0-15.3.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">cpio, as used in build 2007.05.10, 2010.07.28, and possibly other versions, allows remote attackers to overwrite arbitrary files via a symlink within an RPM package archive.</Note>
    </Notes>
    <CVE>CVE-2010-4226</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:build-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:build-initvm-s390-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:build-initvm-x86_64-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:build-mkbaselibs-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:obs-service-source_validator-0.7-9.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:osc-0.162.0-15.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-initvm-s390-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-initvm-x86_64-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-mkbaselibs-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:obs-service-source_validator-0.7-9.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:osc-0.162.0-15.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5</BaseScore>
        <Vector>AV:N/AC:L/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://www.suse.com/support/update/announcement/2017/suse-su-20173253-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2010-4226.html</URL>
        <Description>CVE-2010-4226</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/665768</URL>
        <Description>SUSE Bug 665768</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 12 SP2:build-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:build-initvm-s390-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:build-initvm-x86_64-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:build-mkbaselibs-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:obs-service-source_validator-0.7-9.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:osc-0.162.0-15.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-initvm-s390-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-initvm-x86_64-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-mkbaselibs-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:obs-service-source_validator-0.7-9.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:osc-0.162.0-15.3.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>
      <ScoreSet>
        <BaseScore>5</BaseScore>
        <Vector>AV:N/AC:L/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://www.suse.com/support/update/announcement/2017/suse-su-20173253-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 12 SP2:build-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:build-initvm-s390-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:build-initvm-x86_64-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:build-mkbaselibs-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:obs-service-source_validator-0.7-9.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:osc-0.162.0-15.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-initvm-s390-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-initvm-x86_64-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:build-mkbaselibs-20171128-9.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:obs-service-source_validator-0.7-9.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:osc-0.162.0-15.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>9.3</BaseScore>
        <Vector>AV:N/AC:M/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/2017/suse-su-20173253-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>
