<?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 mupdf</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:0227-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-01-25T19:15:35Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-01-25T19:15:35Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-01-25T19:15:35Z</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 mupdf</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for mupdf to version 1.12.0 fixes several issues.

These security issues were fixed:

- CVE-2018-5686: Prevent infinite loop in pdf_parse_array function because EOF
  is not considered. Remote attackers could leverage this vulnerability to cause
  a denial of service via a crafted pdf file (bsc#1075936).
- CVE-2017-15369: The build_filter_chain function in pdf/pdf-stream.c
  mishandled a case where a variable may reside in a register, which allowed
  remote attackers to cause a denial of service (Fitz fz_drop_imp use-after-free
  and application crash) or possibly have unspecified other impact via a crafted
  PDF document (bsc#1063413).
- CVE-2017-15587: Prevent integer overflow in pdf_read_new_xref_section that
  allowed for DoS (bsc#1064027).
- CVE-2017-17866: Fixed mishandling of length changes when a repair operation
  occured during a clean operation, which allowed remote attackers to cause a
  denial of service (buffer overflow and application crash) or possibly have
  unspecified other impact via a crafted PDF document (bsc#1074116).
- CVE-2017-17858: Fixed a heap-based buffer overflow in the ensure_solid_xref
  function which allowed a remote attacker to potentially execute arbitrary
  code via a crafted PDF file, because xref subsection object numbers were
  unrestricted (bsc#1077161).

For non-security changes please refer to the changelog.
</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-01/msg00098.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:0227-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.2">
      <Branch Type="Product Name" Name="openSUSE Leap 42.2">
        <FullProductName ProductID="openSUSE Leap 42.2">openSUSE Leap 42.2</FullProductName>
      </Branch>
    </Branch>
    <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="mupdf-1.12.0-23.1">
      <FullProductName ProductID="mupdf-1.12.0-23.1">mupdf-1.12.0-23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="mupdf-devel-static-1.12.0-23.1">
      <FullProductName ProductID="mupdf-devel-static-1.12.0-23.1">mupdf-devel-static-1.12.0-23.1</FullProductName>
    </Branch>
    <Relationship ProductReference="mupdf-1.12.0-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:mupdf-1.12.0-23.1">mupdf-1.12.0-23.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="mupdf-devel-static-1.12.0-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.2">
      <FullProductName ProductID="openSUSE Leap 42.2:mupdf-devel-static-1.12.0-23.1">mupdf-devel-static-1.12.0-23.1 as a component of openSUSE Leap 42.2</FullProductName>
    </Relationship>
    <Relationship ProductReference="mupdf-1.12.0-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:mupdf-1.12.0-23.1">mupdf-1.12.0-23.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="mupdf-devel-static-1.12.0-23.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:mupdf-devel-static-1.12.0-23.1">mupdf-devel-static-1.12.0-23.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">The build_filter_chain function in pdf/pdf-stream.c in Artifex MuPDF before 2017-09-25 mishandles a certain case where a variable may reside in a register, which allows remote attackers to cause a denial of service (Fitz fz_drop_imp use-after-free and application crash) or possibly have unspecified other impact via a crafted PDF document.</Note>
    </Notes>
    <CVE>CVE-2017-15369</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:mupdf-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.2:mupdf-devel-static-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-devel-static-1.12.0-23.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-01/msg00098.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-15369.html</URL>
        <Description>CVE-2017-15369</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1063413</URL>
        <Description>SUSE Bug 1063413</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">An integer overflow was discovered in pdf_read_new_xref_section in pdf/pdf-xref.c in Artifex MuPDF 1.11.</Note>
    </Notes>
    <CVE>CVE-2017-15587</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:mupdf-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.2:mupdf-devel-static-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-devel-static-1.12.0-23.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-01/msg00098.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-15587.html</URL>
        <Description>CVE-2017-15587</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1064027</URL>
        <Description>SUSE Bug 1064027</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">Heap-based buffer overflow in the ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1.12.0 allows a remote attacker to potentially execute arbitrary code via a crafted PDF file, because xref subsection object numbers are unrestricted.</Note>
    </Notes>
    <CVE>CVE-2017-17858</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:mupdf-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.2:mupdf-devel-static-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-devel-static-1.12.0-23.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-01/msg00098.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-17858.html</URL>
        <Description>CVE-2017-17858</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1077161</URL>
        <Description>SUSE Bug 1077161</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">pdf/pdf-write.c in Artifex MuPDF before 1.12.0 mishandles certain length changes when a repair operation occurs during a clean operation, which allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted PDF document.</Note>
    </Notes>
    <CVE>CVE-2017-17866</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:mupdf-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.2:mupdf-devel-static-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-devel-static-1.12.0-23.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-01/msg00098.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-17866.html</URL>
        <Description>CVE-2017-17866</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1074116</URL>
        <Description>SUSE Bug 1074116</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">In MuPDF 1.12.0, there is an infinite loop vulnerability and application hang in the pdf_parse_array function (pdf/pdf-parse.c) because EOF is not considered. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted pdf file.</Note>
    </Notes>
    <CVE>CVE-2018-5686</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.2:mupdf-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.2:mupdf-devel-static-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-1.12.0-23.1</ProductID>
        <ProductID>openSUSE Leap 42.3:mupdf-devel-static-1.12.0-23.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-01/msg00098.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5686.html</URL>
        <Description>CVE-2018-5686</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1075936</URL>
        <Description>SUSE Bug 1075936</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
