<?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-2019:0094-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2019-03-23T10:50:41Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2019-03-23T10:50:41Z</InitialReleaseDate>
    <CurrentReleaseDate>2019-03-23T10:50:41Z</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:

Security issues fixed:                                                                     
                                                                                                            
- CVE-2018-20337: Fixed a stack-based buffer overflow in the parse_makernote function of dcraw_common.cpp (bsc#1120519)
- CVE-2018-20365: Fixed a heap-based buffer overflow in the raw2image function of libraw_cxx.cpp (bsc#1120500)
- CVE-2018-20364: Fixed a NULL pointer dereference in the copy_bayer function of libraw_cxx.cpp (bsc#1120499)
- CVE-2018-20363: Fixed a NULL pointer dereference in the raw2image function of libraw_cxx.cpp (bsc#1120498)          
- CVE-2018-5817: Fixed an infinite loop in the unpacked_load_raw function of dcraw_common.cpp (bsc#1120515)
- CVE-2018-5818: Fixed an infinite loop in the parse_rollei function of dcraw_common.cpp (bsc#1120516)    
- CVE-2018-5819: Fixed a denial of service in the parse_sinar_ia function of dcraw_common.cpp (bsc#1120517)

This update was imported from the SUSE:SLE-15: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>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">openSUSE-2019-94</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/2019-01/msg00045.html</URL>
      <Description>E-Mail link for openSUSE-SU-2019:0094-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/1120498</URL>
      <Description>SUSE Bug 1120498</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1120499</URL>
      <Description>SUSE Bug 1120499</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1120500</URL>
      <Description>SUSE Bug 1120500</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1120515</URL>
      <Description>SUSE Bug 1120515</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1120516</URL>
      <Description>SUSE Bug 1120516</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1120517</URL>
      <Description>SUSE Bug 1120517</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1120519</URL>
      <Description>SUSE Bug 1120519</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-20337/</URL>
      <Description>SUSE CVE CVE-2018-20337 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-20363/</URL>
      <Description>SUSE CVE CVE-2018-20363 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-20364/</URL>
      <Description>SUSE CVE CVE-2018-20364 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-20365/</URL>
      <Description>SUSE CVE CVE-2018-20365 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-5817/</URL>
      <Description>SUSE CVE CVE-2018-5817 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-5818/</URL>
      <Description>SUSE CVE CVE-2018-5818 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-5819/</URL>
      <Description>SUSE CVE CVE-2018-5819 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 15.0">
      <Branch Type="Product Name" Name="openSUSE Leap 15.0">
        <FullProductName ProductID="openSUSE Leap 15.0" CPE="cpe:/o:opensuse:leap:15.0">openSUSE Leap 15.0</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libraw-devel-0.18.9-lp150.2.6.1">
      <FullProductName ProductID="libraw-devel-0.18.9-lp150.2.6.1">libraw-devel-0.18.9-lp150.2.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libraw-devel-static-0.18.9-lp150.2.6.1">
      <FullProductName ProductID="libraw-devel-static-0.18.9-lp150.2.6.1">libraw-devel-static-0.18.9-lp150.2.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libraw-tools-0.18.9-lp150.2.6.1">
      <FullProductName ProductID="libraw-tools-0.18.9-lp150.2.6.1">libraw-tools-0.18.9-lp150.2.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libraw16-0.18.9-lp150.2.6.1">
      <FullProductName ProductID="libraw16-0.18.9-lp150.2.6.1">libraw16-0.18.9-lp150.2.6.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libraw-devel-0.18.9-lp150.2.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.0">
      <FullProductName ProductID="openSUSE Leap 15.0:libraw-devel-0.18.9-lp150.2.6.1">libraw-devel-0.18.9-lp150.2.6.1 as a component of openSUSE Leap 15.0</FullProductName>
    </Relationship>
    <Relationship ProductReference="libraw-devel-static-0.18.9-lp150.2.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.0">
      <FullProductName ProductID="openSUSE Leap 15.0:libraw-devel-static-0.18.9-lp150.2.6.1">libraw-devel-static-0.18.9-lp150.2.6.1 as a component of openSUSE Leap 15.0</FullProductName>
    </Relationship>
    <Relationship ProductReference="libraw-tools-0.18.9-lp150.2.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.0">
      <FullProductName ProductID="openSUSE Leap 15.0:libraw-tools-0.18.9-lp150.2.6.1">libraw-tools-0.18.9-lp150.2.6.1 as a component of openSUSE Leap 15.0</FullProductName>
    </Relationship>
    <Relationship ProductReference="libraw16-0.18.9-lp150.2.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.0">
      <FullProductName ProductID="openSUSE Leap 15.0:libraw16-0.18.9-lp150.2.6.1">libraw16-0.18.9-lp150.2.6.1 as a component of openSUSE Leap 15.0</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">There is a stack-based buffer overflow in the parse_makernote function of dcraw_common.cpp in LibRaw 0.19.1. Crafted input will lead to a denial of service or possibly unspecified other impact.</Note>
    </Notes>
    <CVE>CVE-2018-20337</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libraw-devel-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-devel-static-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-tools-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw16-0.18.9-lp150.2.6.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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://lists.opensuse.org/opensuse-security-announce/2019-01/msg00045.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-20337.html</URL>
        <Description>CVE-2018-20337</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1120519</URL>
        <Description>SUSE Bug 1120519</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">LibRaw::raw2image in libraw_cxx.cpp in LibRaw 0.19.1 has a NULL pointer dereference.</Note>
    </Notes>
    <CVE>CVE-2018-20363</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libraw-devel-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-devel-static-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-tools-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw16-0.18.9-lp150.2.6.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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://lists.opensuse.org/opensuse-security-announce/2019-01/msg00045.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-20363.html</URL>
        <Description>CVE-2018-20363</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1120498</URL>
        <Description>SUSE Bug 1120498</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">LibRaw::copy_bayer in libraw_cxx.cpp in LibRaw 0.19.1 has a NULL pointer dereference.</Note>
    </Notes>
    <CVE>CVE-2018-20364</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libraw-devel-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-devel-static-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-tools-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw16-0.18.9-lp150.2.6.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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://lists.opensuse.org/opensuse-security-announce/2019-01/msg00045.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-20364.html</URL>
        <Description>CVE-2018-20364</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1120499</URL>
        <Description>SUSE Bug 1120499</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">LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.</Note>
    </Notes>
    <CVE>CVE-2018-20365</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libraw-devel-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-devel-static-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-tools-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw16-0.18.9-lp150.2.6.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://lists.opensuse.org/opensuse-security-announce/2019-01/msg00045.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-20365.html</URL>
        <Description>CVE-2018-20365</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1120498</URL>
        <Description>SUSE Bug 1120498</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1120499</URL>
        <Description>SUSE Bug 1120499</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1120500</URL>
        <Description>SUSE Bug 1120500</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">A type confusion error within the "unpacked_load_raw()" function within LibRaw versions prior to 0.19.1 (internal/dcraw_common.cpp) can be exploited to trigger an infinite loop.</Note>
    </Notes>
    <CVE>CVE-2018-5817</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libraw-devel-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-devel-static-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-tools-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw16-0.18.9-lp150.2.6.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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://lists.opensuse.org/opensuse-security-announce/2019-01/msg00045.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5817.html</URL>
        <Description>CVE-2018-5817</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1120515</URL>
        <Description>SUSE Bug 1120515</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="6">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An error within the "parse_rollei()" function (internal/dcraw_common.cpp) within LibRaw versions prior to 0.19.1 can be exploited to trigger an infinite loop.</Note>
    </Notes>
    <CVE>CVE-2018-5818</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libraw-devel-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-devel-static-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-tools-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw16-0.18.9-lp150.2.6.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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://lists.opensuse.org/opensuse-security-announce/2019-01/msg00045.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5818.html</URL>
        <Description>CVE-2018-5818</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1120516</URL>
        <Description>SUSE Bug 1120516</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="7">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An error within the "parse_sinar_ia()" function (internal/dcraw_common.cpp) within LibRaw versions prior to 0.19.1 can be exploited to exhaust available CPU resources.</Note>
    </Notes>
    <CVE>CVE-2018-5819</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.0:libraw-devel-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-devel-static-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw-tools-0.18.9-lp150.2.6.1</ProductID>
        <ProductID>openSUSE Leap 15.0:libraw16-0.18.9-lp150.2.6.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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://lists.opensuse.org/opensuse-security-announce/2019-01/msg00045.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-5819.html</URL>
        <Description>CVE-2018-5819</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1120517</URL>
        <Description>SUSE Bug 1120517</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
