<?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 zziplib</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:0548-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-02-27T09:45:19Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-02-27T09:45:19Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-02-27T09:45:19Z</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 zziplib</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">
  
This update for zziplib fixes the following issues:

Version update to 0.13.67 contains lots of bug- and security fixes.

- If an extension block is too small to hold an extension,
  do not use the information therein.
- CVE-2018-6540: If the End of central directory record (EOCD) contains an
  Offset of start of central directory which is beyond the end of
  the file, reject the file.  (bsc#1079096)
- CVE-2018-6484: Reject the ZIP file and report it as corrupt if the size of the
  central directory and/or the offset of start of central directory
  point beyond the end of the ZIP file. (bsc#1078701)
- CVE-2018-6381: If a file is uncompressed, compressed and uncompressed sizes
  should be identical. (bsc#1078497)

</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-DESKTOP-12-SP2-2018-357,SUSE-SLE-DESKTOP-12-SP3-2018-357,SUSE-SLE-SDK-12-SP2-2018-357,SUSE-SLE-SDK-12-SP3-2018-357,SUSE-SLE-WE-12-SP2-2018-357,SUSE-SLE-WE-12-SP3-2018-357</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-20180548-1/</URL>
      <Description>Link for SUSE-SU-2018:0548-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2018-February/003754.html</URL>
      <Description>E-Mail link for SUSE-SU-2018:0548-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/1024532</URL>
      <Description>SUSE Bug 1024532</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1024536</URL>
      <Description>SUSE Bug 1024536</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1034539</URL>
      <Description>SUSE Bug 1034539</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1078497</URL>
      <Description>SUSE Bug 1078497</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1078701</URL>
      <Description>SUSE Bug 1078701</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1079096</URL>
      <Description>SUSE Bug 1079096</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-6381/</URL>
      <Description>SUSE CVE CVE-2018-6381 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-6484/</URL>
      <Description>SUSE CVE CVE-2018-6484 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-6540/</URL>
      <Description>SUSE CVE CVE-2018-6540 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 SP2">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Desktop 12 SP2">
        <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP2" CPE="cpe:/o:suse:sled:12:sp2">SUSE Linux Enterprise Desktop 12 SP2</FullProductName>
      </Branch>
    </Branch>
    <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 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 Family" Name="SUSE Linux Enterprise Workstation Extension 12 SP2">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Workstation Extension 12 SP2">
        <FullProductName ProductID="SUSE Linux Enterprise Workstation Extension 12 SP2" CPE="cpe:/o:suse:sle-we:12:sp2">SUSE Linux Enterprise Workstation Extension 12 SP2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Workstation Extension 12 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Workstation Extension 12 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Workstation Extension 12 SP3" CPE="cpe:/o:suse:sle-we:12:sp3">SUSE Linux Enterprise Workstation Extension 12 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libzzip-0-13-0.13.67-10.5.1">
      <FullProductName ProductID="libzzip-0-13-0.13.67-10.5.1">libzzip-0-13-0.13.67-10.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="zziplib-devel-0.13.67-10.5.1">
      <FullProductName ProductID="zziplib-devel-0.13.67-10.5.1">zziplib-devel-0.13.67-10.5.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libzzip-0-13-0.13.67-10.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP2:libzzip-0-13-0.13.67-10.5.1">libzzip-0-13-0.13.67-10.5.1 as a component of SUSE Linux Enterprise Desktop 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="libzzip-0-13-0.13.67-10.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP3:libzzip-0-13-0.13.67-10.5.1">libzzip-0-13-0.13.67-10.5.1 as a component of SUSE Linux Enterprise Desktop 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libzzip-0-13-0.13.67-10.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP2:libzzip-0-13-0.13.67-10.5.1">libzzip-0-13-0.13.67-10.5.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="zziplib-devel-0.13.67-10.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP2:zziplib-devel-0.13.67-10.5.1">zziplib-devel-0.13.67-10.5.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="libzzip-0-13-0.13.67-10.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP3:libzzip-0-13-0.13.67-10.5.1">libzzip-0-13-0.13.67-10.5.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="zziplib-devel-0.13.67-10.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP3:zziplib-devel-0.13.67-10.5.1">zziplib-devel-0.13.67-10.5.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libzzip-0-13-0.13.67-10.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Workstation Extension 12 SP2">
      <FullProductName ProductID="SUSE Linux Enterprise Workstation Extension 12 SP2:libzzip-0-13-0.13.67-10.5.1">libzzip-0-13-0.13.67-10.5.1 as a component of SUSE Linux Enterprise Workstation Extension 12 SP2</FullProductName>
    </Relationship>
    <Relationship ProductReference="libzzip-0-13-0.13.67-10.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Workstation Extension 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Workstation Extension 12 SP3:libzzip-0-13-0.13.67-10.5.1">libzzip-0-13-0.13.67-10.5.1 as a component of SUSE Linux Enterprise Workstation Extension 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">In ZZIPlib 0.13.67, 0.13.66, 0.13.65, 0.13.64, 0.13.63, 0.13.62, 0.13.61, 0.13.60, 0.13.59, 0.13.58, 0.13.57 and 0.13.56 there is a segmentation fault caused by invalid memory access in the zzip_disk_fread function (zzip/mmapped.c) because the size variable is not validated against the amount of file-&gt;stored data.</Note>
    </Notes>
    <CVE>CVE-2018-6381</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP2:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:zziplib-devel-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:zziplib-devel-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP2:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP3:libzzip-0-13-0.13.67-10.5.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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-20180548-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-6381.html</URL>
        <Description>CVE-2018-6381</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1078497</URL>
        <Description>SUSE Bug 1078497</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079094</URL>
        <Description>SUSE Bug 1079094</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 ZZIPlib 0.13.67, there is a memory alignment error and bus error in the __zzip_fetch_disk_trailer function of zzip/zip.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.</Note>
    </Notes>
    <CVE>CVE-2018-6484</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP2:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:zziplib-devel-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:zziplib-devel-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP2:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP3:libzzip-0-13-0.13.67-10.5.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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-20180548-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-6484.html</URL>
        <Description>CVE-2018-6484</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1078701</URL>
        <Description>SUSE Bug 1078701</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079094</URL>
        <Description>SUSE Bug 1079094</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079095</URL>
        <Description>SUSE Bug 1079095</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1080546</URL>
        <Description>SUSE Bug 1080546</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 ZZIPlib 0.13.67, there is a bus error caused by loading of a misaligned address in the zzip_disk_findfirst function of zzip/mmapped.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.</Note>
    </Notes>
    <CVE>CVE-2018-6540</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP2:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP2:zziplib-devel-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP3:zziplib-devel-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP2:libzzip-0-13-0.13.67-10.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP3:libzzip-0-13-0.13.67-10.5.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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-20180548-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-6540.html</URL>
        <Description>CVE-2018-6540</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079094</URL>
        <Description>SUSE Bug 1079094</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079096</URL>
        <Description>SUSE Bug 1079096</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
