<?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 libarchive</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2016:3005-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2016-12-05T08:51:21Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2016-12-05T08:51:21Z</InitialReleaseDate>
    <CurrentReleaseDate>2016-12-05T08:51:21Z</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 libarchive</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
This update for libarchive fixes several issues.

These security issues were fixed:

- CVE-2016-8687: Buffer overflow when printing a filename (bsc#1005070).
- CVE-2016-8689: Heap overflow when reading corrupted 7Zip files (bsc#1005072).
- CVE-2016-8688: Use after free because of incorrect calculation in next_line (bsc#1005076).
- CVE-2016-5844: Integer overflow in the ISO parser in libarchive allowed remote attackers to cause a denial of service (application crash) via a crafted ISO file (bsc#986566).
- CVE-2016-6250: Integer overflow in the ISO9660 writer in libarchive allowed remote attackers to cause a denial of service (application crash) or execute arbitrary code via vectors related to verifying filename lengths when writing an ISO9660 archive, which trigger a buffer overflow (bsc#989980).
- CVE-2016-5418: The sandboxing code in libarchive mishandled hardlink archive entries of non-zero data size, which might allowed remote attackers to write to arbitrary files via a crafted archive file (bsc#998677).

This update was imported from the SUSE:SLE-12: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>
  </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/opensuse-updates/2016-12/msg00030.html</URL>
      <Description>E-Mail link for openSUSE-SU-2016:3005-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 42.1">
      <Branch Type="Product Name" Name="openSUSE Leap 42.1">
        <FullProductName ProductID="openSUSE Leap 42.1">openSUSE Leap 42.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="bsdtar-3.1.2-16.1">
      <FullProductName ProductID="bsdtar-3.1.2-16.1">bsdtar-3.1.2-16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libarchive-3.1.2-16.1">
      <FullProductName ProductID="libarchive-3.1.2-16.1">libarchive-3.1.2-16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libarchive-devel-3.1.2-16.1">
      <FullProductName ProductID="libarchive-devel-3.1.2-16.1">libarchive-devel-3.1.2-16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libarchive13-3.1.2-16.1">
      <FullProductName ProductID="libarchive13-3.1.2-16.1">libarchive13-3.1.2-16.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libarchive13-32bit-3.1.2-16.1">
      <FullProductName ProductID="libarchive13-32bit-3.1.2-16.1">libarchive13-32bit-3.1.2-16.1</FullProductName>
    </Branch>
    <Relationship ProductReference="bsdtar-3.1.2-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:bsdtar-3.1.2-16.1">bsdtar-3.1.2-16.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libarchive-3.1.2-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libarchive-3.1.2-16.1">libarchive-3.1.2-16.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libarchive-devel-3.1.2-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libarchive-devel-3.1.2-16.1">libarchive-devel-3.1.2-16.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libarchive13-3.1.2-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libarchive13-3.1.2-16.1">libarchive13-3.1.2-16.1 as a component of openSUSE Leap 42.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="libarchive13-32bit-3.1.2-16.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.1">
      <FullProductName ProductID="openSUSE Leap 42.1:libarchive13-32bit-3.1.2-16.1">libarchive13-32bit-3.1.2-16.1 as a component of openSUSE Leap 42.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">Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.</Note>
    </Notes>
    <CVE>CVE-2015-2304</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:bsdtar-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-devel-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-32bit-3.1.2-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2016-12/msg00030.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2015-2304.html</URL>
        <Description>CVE-2015-2304</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/920870</URL>
        <Description>SUSE Bug 920870</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 sandboxing code in libarchive 3.2.0 and earlier mishandles hardlink archive entries of non-zero data size, which might allow remote attackers to write to arbitrary files via a crafted archive file.</Note>
    </Notes>
    <CVE>CVE-2016-5418</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:bsdtar-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-devel-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-32bit-3.1.2-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>2.6</BaseScore>
        <Vector>AV:N/AC:H/Au:N/C:N/I:P/A:N</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2016-12/msg00030.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-5418.html</URL>
        <Description>CVE-2016-5418</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/998677</URL>
        <Description>SUSE Bug 998677</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">Integer overflow in the ISO parser in libarchive before 3.2.1 allows remote attackers to cause a denial of service (application crash) via a crafted ISO file.</Note>
    </Notes>
    <CVE>CVE-2016-5844</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:bsdtar-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-devel-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-32bit-3.1.2-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5.8</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:N/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2016-12/msg00030.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-5844.html</URL>
        <Description>CVE-2016-5844</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/986566</URL>
        <Description>SUSE Bug 986566</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">Integer overflow in the ISO9660 writer in libarchive before 3.2.1 allows remote attackers to cause a denial of service (application crash) or execute arbitrary code via vectors related to verifying filename lengths when writing an ISO9660 archive, which trigger a buffer overflow.</Note>
    </Notes>
    <CVE>CVE-2016-6250</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:bsdtar-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-devel-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-32bit-3.1.2-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.3</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:N/I:N/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2016-12/msg00030.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-6250.html</URL>
        <Description>CVE-2016-6250</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/989980</URL>
        <Description>SUSE Bug 989980</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="5">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Stack-based buffer overflow in the safe_fprintf function in tar/util.c in libarchive 3.2.1 allows remote attackers to cause a denial of service via a crafted non-printable multibyte character in a filename.</Note>
    </Notes>
    <CVE>CVE-2016-8687</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:bsdtar-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-devel-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-32bit-3.1.2-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5.1</BaseScore>
        <Vector>AV:N/AC:H/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2016-12/msg00030.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-8687.html</URL>
        <Description>CVE-2016-8687</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1005070</URL>
        <Description>SUSE Bug 1005070</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="6">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.</Note>
    </Notes>
    <CVE>CVE-2016-8688</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:bsdtar-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-devel-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-32bit-3.1.2-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5.1</BaseScore>
        <Vector>AV:N/AC:H/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2016-12/msg00030.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-8688.html</URL>
        <Description>CVE-2016-8688</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1005076</URL>
        <Description>SUSE Bug 1005076</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="7">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2.1 allows remote attackers to cause a denial of service (out-of-bounds read) via multiple EmptyStream attributes in a header in a 7zip archive.</Note>
    </Notes>
    <CVE>CVE-2016-8689</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.1:bsdtar-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive-devel-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-3.1.2-16.1</ProductID>
        <ProductID>openSUSE Leap 42.1:libarchive13-32bit-3.1.2-16.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>7.1</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:N/I:N/A:C</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2016-12/msg00030.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2016-8689.html</URL>
        <Description>CVE-2016-8689</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1005072</URL>
        <Description>SUSE Bug 1005072</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
