<?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 tiff</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:1204-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-05-10T17:55:44Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-05-10T17:55:44Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-05-10T17:55:44Z</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 tiff</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for tiff fixes the following issues:

- CVE-2017-9935: There was a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause arbitrary code execution (bsc#1046077)
- CVE-2017-17973: There is a heap-based use-after-free in the t2p_writeproc function in tiff2pdf.c. (bsc#1074318)
- CVE-2018-5784: There is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries (bsc#1081690)


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-05/msg00025.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:1204-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="libtiff-devel-4.0.9-28.1">
      <FullProductName ProductID="libtiff-devel-4.0.9-28.1">libtiff-devel-4.0.9-28.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libtiff-devel-32bit-4.0.9-28.1">
      <FullProductName ProductID="libtiff-devel-32bit-4.0.9-28.1">libtiff-devel-32bit-4.0.9-28.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libtiff5-4.0.9-28.1">
      <FullProductName ProductID="libtiff5-4.0.9-28.1">libtiff5-4.0.9-28.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libtiff5-32bit-4.0.9-28.1">
      <FullProductName ProductID="libtiff5-32bit-4.0.9-28.1">libtiff5-32bit-4.0.9-28.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tiff-4.0.9-28.1">
      <FullProductName ProductID="tiff-4.0.9-28.1">tiff-4.0.9-28.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libtiff-devel-4.0.9-28.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libtiff-devel-4.0.9-28.1">libtiff-devel-4.0.9-28.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libtiff-devel-32bit-4.0.9-28.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libtiff-devel-32bit-4.0.9-28.1">libtiff-devel-32bit-4.0.9-28.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libtiff5-4.0.9-28.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libtiff5-4.0.9-28.1">libtiff5-4.0.9-28.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libtiff5-32bit-4.0.9-28.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libtiff5-32bit-4.0.9-28.1">libtiff5-32bit-4.0.9-28.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tiff-4.0.9-28.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tiff-4.0.9-28.1">tiff-4.0.9-28.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">** DISPUTED ** In LibTIFF 4.0.8, there is a heap-based use-after-free in the t2p_writeproc function in tiff2pdf.c. NOTE: there is a third-party report of inability to reproduce this issue.</Note>
    </Notes>
    <CVE>CVE-2017-17973</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libtiff-devel-32bit-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libtiff-devel-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libtiff5-32bit-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libtiff5-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tiff-4.0.9-28.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</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-05/msg00025.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-17973.html</URL>
        <Description>CVE-2017-17973</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1074318</URL>
        <Description>SUSE Bug 1074318</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 LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause arbitrary code execution.</Note>
    </Notes>
    <CVE>CVE-2017-9935</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libtiff-devel-32bit-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libtiff-devel-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libtiff5-32bit-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libtiff5-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tiff-4.0.9-28.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/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/2018-05/msg00025.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-9935.html</URL>
        <Description>CVE-2017-9935</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1046077</URL>
        <Description>SUSE Bug 1046077</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1074318</URL>
        <Description>SUSE Bug 1074318</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1108606</URL>
        <Description>SUSE Bug 1108606</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1110358</URL>
        <Description>SUSE Bug 1110358</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 LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries.</Note>
    </Notes>
    <CVE>CVE-2018-5784</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libtiff-devel-32bit-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libtiff-devel-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libtiff5-32bit-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libtiff5-4.0.9-28.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tiff-4.0.9-28.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-05/msg00025.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5784.html</URL>
        <Description>CVE-2018-5784</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1081690</URL>
        <Description>SUSE Bug 1081690</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
