<?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 opencv</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:2671-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2019-12-11T09:15:03Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2019-12-11T09:15:03Z</InitialReleaseDate>
    <CurrentReleaseDate>2019-12-11T09:15:03Z</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 opencv</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for opencv fixes the following issues:

Security issues fixed:

- CVE-2019-14491: Fixed an out of bounds read in the function cv:predictOrdered&lt;cv:HaarEvaluator&gt;, leading to DOS (bsc#1144352).
- CVE-2019-14492: Fixed an out of bounds read/write in the function HaarEvaluator:OptFeature:calc, which leads to denial of service (bsc#1144348).
- CVE-2019-15939: Fixed a divide-by-zero error in cv:HOGDescriptor:getDescriptorSize (bsc#1149742).

Non-security issue fixed:

- Fixed an issue in opencv-devel that broke builds with 'No rule to make target opencv_calib3d-NOTFOUND' (bsc#1154091).

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-2671</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/archives/list/security-announce@lists.opensuse.org/thread/JGAQFMV6GQEJ2HUR6FWVV3CJH3MNBECB/#JGAQFMV6GQEJ2HUR6FWVV3CJH3MNBECB</URL>
      <Description>E-Mail link for openSUSE-SU-2019:2671-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/1144348</URL>
      <Description>SUSE Bug 1144348</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1144352</URL>
      <Description>SUSE Bug 1144352</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1149742</URL>
      <Description>SUSE Bug 1149742</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1154091</URL>
      <Description>SUSE Bug 1154091</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-14491/</URL>
      <Description>SUSE CVE CVE-2019-14491 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-14492/</URL>
      <Description>SUSE CVE CVE-2019-14492 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-15939/</URL>
      <Description>SUSE CVE CVE-2019-15939 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 15.1">
      <Branch Type="Product Name" Name="openSUSE Leap 15.1">
        <FullProductName ProductID="openSUSE Leap 15.1" CPE="cpe:/o:opensuse:leap:15.1">openSUSE Leap 15.1</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libopencv3_3-3.3.1-lp151.6.3.1">
      <FullProductName ProductID="libopencv3_3-3.3.1-lp151.6.3.1">libopencv3_3-3.3.1-lp151.6.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="opencv-3.3.1-lp151.6.3.1">
      <FullProductName ProductID="opencv-3.3.1-lp151.6.3.1">opencv-3.3.1-lp151.6.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="opencv-devel-3.3.1-lp151.6.3.1">
      <FullProductName ProductID="opencv-devel-3.3.1-lp151.6.3.1">opencv-devel-3.3.1-lp151.6.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="opencv-doc-3.3.1-lp151.6.3.1">
      <FullProductName ProductID="opencv-doc-3.3.1-lp151.6.3.1">opencv-doc-3.3.1-lp151.6.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python2-opencv-3.3.1-lp151.6.3.1">
      <FullProductName ProductID="python2-opencv-3.3.1-lp151.6.3.1">python2-opencv-3.3.1-lp151.6.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-opencv-3.3.1-lp151.6.3.1">
      <FullProductName ProductID="python3-opencv-3.3.1-lp151.6.3.1">python3-opencv-3.3.1-lp151.6.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libopencv3_3-3.3.1-lp151.6.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:libopencv3_3-3.3.1-lp151.6.3.1">libopencv3_3-3.3.1-lp151.6.3.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="opencv-3.3.1-lp151.6.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:opencv-3.3.1-lp151.6.3.1">opencv-3.3.1-lp151.6.3.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="opencv-devel-3.3.1-lp151.6.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:opencv-devel-3.3.1-lp151.6.3.1">opencv-devel-3.3.1-lp151.6.3.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="opencv-doc-3.3.1-lp151.6.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:opencv-doc-3.3.1-lp151.6.3.1">opencv-doc-3.3.1-lp151.6.3.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python2-opencv-3.3.1-lp151.6.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python2-opencv-3.3.1-lp151.6.3.1">python2-opencv-3.3.1-lp151.6.3.1 as a component of openSUSE Leap 15.1</FullProductName>
    </Relationship>
    <Relationship ProductReference="python3-opencv-3.3.1-lp151.6.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.1">
      <FullProductName ProductID="openSUSE Leap 15.1:python3-opencv-3.3.1-lp151.6.3.1">python3-opencv-3.3.1-lp151.6.3.1 as a component of openSUSE Leap 15.1</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">An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There is an out of bounds read in the function cv::predictOrdered&lt;cv::HaarEvaluator&gt; in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.</Note>
    </Notes>
    <CVE>CVE-2019-14491</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.1:libopencv3_3-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:opencv-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:opencv-devel-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:opencv-doc-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python2-opencv-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python3-opencv-3.3.1-lp151.6.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.4</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:P/I:N/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <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/archives/list/security-announce@lists.opensuse.org/thread/JGAQFMV6GQEJ2HUR6FWVV3CJH3MNBECB/#JGAQFMV6GQEJ2HUR6FWVV3CJH3MNBECB</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-14491.html</URL>
        <Description>CVE-2019-14491</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1144348</URL>
        <Description>SUSE Bug 1144348</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1144352</URL>
        <Description>SUSE Bug 1144352</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 issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There is an out of bounds read/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.</Note>
    </Notes>
    <CVE>CVE-2019-14492</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.1:libopencv3_3-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:opencv-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:opencv-devel-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:opencv-doc-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python2-opencv-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python3-opencv-3.3.1-lp151.6.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:N/I:N/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <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/archives/list/security-announce@lists.opensuse.org/thread/JGAQFMV6GQEJ2HUR6FWVV3CJH3MNBECB/#JGAQFMV6GQEJ2HUR6FWVV3CJH3MNBECB</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-14492.html</URL>
        <Description>CVE-2019-14492</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1144348</URL>
        <Description>SUSE Bug 1144348</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1144352</URL>
        <Description>SUSE Bug 1144352</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 issue was discovered in OpenCV 4.1.0. There is a divide-by-zero error in cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp.</Note>
    </Notes>
    <CVE>CVE-2019-15939</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.1:libopencv3_3-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:opencv-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:opencv-devel-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:opencv-doc-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python2-opencv-3.3.1-lp151.6.3.1</ProductID>
        <ProductID>openSUSE Leap 15.1:python3-opencv-3.3.1-lp151.6.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>4.3</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:N/I:N/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <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/archives/list/security-announce@lists.opensuse.org/thread/JGAQFMV6GQEJ2HUR6FWVV3CJH3MNBECB/#JGAQFMV6GQEJ2HUR6FWVV3CJH3MNBECB</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-15939.html</URL>
        <Description>CVE-2019-15939</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1149742</URL>
        <Description>SUSE Bug 1149742</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
