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

The following security vulnerabilities were addressed:

- CVE-2018-5804: Fixed a type confusion error within the identify function that
  could trigger a division by zero, leading to a denial of service (Dos).
  (boo#1097975)
- CVE-2018-5805: Fixed a boundary error within the quicktake_100_load_raw
  function that could cause a stack-based buffer overflow and subsequently
  trigger a crash. (boo#1097973)
- CVE-2018-5806: Fixed an error within the leaf_hdr_load_raw function that
  could trigger a NULL pointer deference, leading to a denial of service (DoS).
  (boo#1097974)
- CVE-2018-5808: Fixed an error within the find_green function that could
  cause a stack-based buffer overflow and subsequently execute arbitrary code.
  (boo#1118894)
- CVE-2018-5816: Fixed a type confusion error within the identify function that
  could trigger a division by zero, leading to a denial of service (DoS).
  (boo#1097975)
</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-security-announce/2018-12/msg00072.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:4299-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="libraw-0.17.1-26.1">
      <FullProductName ProductID="libraw-0.17.1-26.1">libraw-0.17.1-26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libraw-devel-0.17.1-26.1">
      <FullProductName ProductID="libraw-devel-0.17.1-26.1">libraw-devel-0.17.1-26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libraw-devel-static-0.17.1-26.1">
      <FullProductName ProductID="libraw-devel-static-0.17.1-26.1">libraw-devel-static-0.17.1-26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libraw-tools-0.17.1-26.1">
      <FullProductName ProductID="libraw-tools-0.17.1-26.1">libraw-tools-0.17.1-26.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libraw15-0.17.1-26.1">
      <FullProductName ProductID="libraw15-0.17.1-26.1">libraw15-0.17.1-26.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libraw-0.17.1-26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libraw-0.17.1-26.1">libraw-0.17.1-26.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libraw-devel-0.17.1-26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libraw-devel-0.17.1-26.1">libraw-devel-0.17.1-26.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libraw-devel-static-0.17.1-26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libraw-devel-static-0.17.1-26.1">libraw-devel-static-0.17.1-26.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libraw-tools-0.17.1-26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libraw-tools-0.17.1-26.1">libraw-tools-0.17.1-26.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="libraw15-0.17.1-26.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:libraw15-0.17.1-26.1">libraw15-0.17.1-26.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">A type confusion error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to trigger a division by zero.</Note>
    </Notes>
    <CVE>CVE-2018-5804</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libraw-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-devel-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-devel-static-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-tools-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw15-0.17.1-26.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-security-announce/2018-12/msg00072.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5804.html</URL>
        <Description>CVE-2018-5804</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1097975</URL>
        <Description>SUSE Bug 1097975</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">A boundary error within the "quicktake_100_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to cause a stack-based buffer overflow and subsequently cause a crash.</Note>
    </Notes>
    <CVE>CVE-2018-5805</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libraw-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-devel-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-devel-static-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-tools-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw15-0.17.1-26.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-security-announce/2018-12/msg00072.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5805.html</URL>
        <Description>CVE-2018-5805</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1097973</URL>
        <Description>SUSE Bug 1097973</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">An error within the "leaf_hdr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to trigger a NULL pointer dereference.</Note>
    </Notes>
    <CVE>CVE-2018-5806</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libraw-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-devel-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-devel-static-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-tools-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw15-0.17.1-26.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-security-announce/2018-12/msg00072.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5806.html</URL>
        <Description>CVE-2018-5806</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1097974</URL>
        <Description>SUSE Bug 1097974</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">An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.</Note>
    </Notes>
    <CVE>CVE-2018-5808</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libraw-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-devel-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-devel-static-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-tools-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw15-0.17.1-26.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-security-announce/2018-12/msg00072.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5808.html</URL>
        <Description>CVE-2018-5808</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1117896</URL>
        <Description>SUSE Bug 1117896</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1118891</URL>
        <Description>SUSE Bug 1118891</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1118894</URL>
        <Description>SUSE Bug 1118894</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">An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804).</Note>
    </Notes>
    <CVE>CVE-2018-5816</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:libraw-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-devel-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-devel-static-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw-tools-0.17.1-26.1</ProductID>
        <ProductID>openSUSE Leap 42.3:libraw15-0.17.1-26.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-security-announce/2018-12/msg00072.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5816.html</URL>
        <Description>CVE-2018-5816</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1097975</URL>
        <Description>SUSE Bug 1097975</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
