<?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>openSUSE-SU-2018:0561-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-02-27T21:34:09Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-02-27T21:34:09Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-02-27T21:34:09Z</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 to 0.13.67 contains multiple 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)

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/2018-02/msg00110.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:0561-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.3">
      <Branch Type="Product Name" Name="openSUSE Leap 42.3">
        <FullProductName ProductID="openSUSE Leap 42.3">openSUSE Leap 42.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libzzip-0-13-0.13.67-13.3.1">
      <FullProductName ProductID="libzzip-0-13-0.13.67-13.3.1">libzzip-0-13-0.13.67-13.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libzzip-0-13-32bit-0.13.67-13.3.1">
      <FullProductName ProductID="libzzip-0-13-32bit-0.13.67-13.3.1">libzzip-0-13-32bit-0.13.67-13.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="zziplib-0.13.67-13.3.1">
      <FullProductName ProductID="zziplib-0.13.67-13.3.1">zziplib-0.13.67-13.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="zziplib-devel-0.13.67-13.3.1">
      <FullProductName ProductID="zziplib-devel-0.13.67-13.3.1">zziplib-devel-0.13.67-13.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="zziplib-devel-32bit-0.13.67-13.3.1">
      <FullProductName ProductID="zziplib-devel-32bit-0.13.67-13.3.1">zziplib-devel-32bit-0.13.67-13.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libzzip-0-13-0.13.67-13.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libzzip-0-13-0.13.67-13.3.1">libzzip-0-13-0.13.67-13.3.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libzzip-0-13-32bit-0.13.67-13.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libzzip-0-13-32bit-0.13.67-13.3.1">libzzip-0-13-32bit-0.13.67-13.3.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="zziplib-0.13.67-13.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:zziplib-0.13.67-13.3.1">zziplib-0.13.67-13.3.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="zziplib-devel-0.13.67-13.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:zziplib-devel-0.13.67-13.3.1">zziplib-devel-0.13.67-13.3.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="zziplib-devel-32bit-0.13.67-13.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:zziplib-devel-32bit-0.13.67-13.3.1">zziplib-devel-32bit-0.13.67-13.3.1 as a component of openSUSE Leap 42.3</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 and 0.13.63 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>openSUSE Leap 42.3:libzzip-0-13-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libzzip-0-13-32bit-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:zziplib-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:zziplib-devel-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:zziplib-devel-32bit-0.13.67-13.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2018-02/msg00110.html</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>openSUSE Leap 42.3:libzzip-0-13-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libzzip-0-13-32bit-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:zziplib-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:zziplib-devel-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:zziplib-devel-32bit-0.13.67-13.3.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/2018-02/msg00110.html</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>openSUSE Leap 42.3:libzzip-0-13-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libzzip-0-13-32bit-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:zziplib-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:zziplib-devel-0.13.67-13.3.1</ProductID>
        <ProductID>openSUSE Leap 42.3:zziplib-devel-32bit-0.13.67-13.3.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/2018-02/msg00110.html</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>
