Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711284 (CVE-2019-14491, CVE-2019-14492, CVE-2019-14493, CVE-2019-15939, CVE-2019-16249) - <media-libs/opencv-4.1.2: Multiple vulnerabilities (CVE-2019-{14491,14492,14493,15939,16249})
Summary: <media-libs/opencv-4.1.2: Multiple vulnerabilities (CVE-2019-{14491,14492,144...
Status: RESOLVED FIXED
Alias: CVE-2019-14491, CVE-2019-14492, CVE-2019-14493, CVE-2019-15939, CVE-2019-16249
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B3 [noglsa cve]
Keywords: CC-ARCHES, PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-02 02:33 UTC by Sam James
Modified: 2020-08-08 01:40 UTC (History)
1 user (show)

See Also:
Package list:
=media-libs/opencv-4.1.2-r3
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-02 02:33:59 UTC
1) CVE-2019-14491

Description:
"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<cv::HaarEvaluator> in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service."

URL: https://github.com/opencv/opencv/issues/15125

2) CVE-2019-14492

Description:
"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."

URL: https://github.com/opencv/opencv/issues/15124

3) CVE-2019-14493

Description:
"An issue was discovered in OpenCV before 4.1.1. There is a NULL pointer dereference in the function cv::XMLParser::parse at modules/core/src/persistence.cpp."

URL: https://github.com/opencv/opencv/issues/15127
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2020-04-22 21:55:13 UTC
CVE-2019-16249 (https://nvd.nist.gov/vuln/detail/CVE-2019-16249):
  OpenCV 4.1.1 has an out-of-bounds read in hal_baseline::v_load in
  core/hal/intrin_sse.hpp when called from computeSSDMeanNorm in
  modules/video/src/dis_flow.cpp.

CVE-2019-15939 (https://nvd.nist.gov/vuln/detail/CVE-2019-15939):
  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.

CVE-2019-14493 (https://nvd.nist.gov/vuln/detail/CVE-2019-14493):
  An issue was discovered in OpenCV before 4.1.1. There is a NULL pointer
  dereference in the function cv::XMLParser::parse at
  modules/core/src/persistence.cpp.

CVE-2019-14492 (https://nvd.nist.gov/vuln/detail/CVE-2019-14492):
  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.

CVE-2019-14491 (https://nvd.nist.gov/vuln/detail/CVE-2019-14491):
  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<cv::HaarEvaluator> in
  modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-04-22 21:56:08 UTC
@maintianer(s), please advise if ready for stabilisation, or call yourself.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-05 15:43:02 UTC
@maintainer(s), is this ready to be stabled?
Comment 4 Andreas Sturmlechner gentoo-dev 2020-06-18 09:57:27 UTC
Soap told me to.
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2020-06-20 15:47:42 UTC
x86 stable
Comment 6 Agostino Sarubbo gentoo-dev 2020-06-22 06:59:30 UTC
amd64 stable
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-22 19:12:55 UTC
arm64 stable

----
@maintainer(s), please cleanup
Comment 8 Larry the Git Cow gentoo-dev 2020-06-25 17:07:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00c8edae30e54a80c29fabf1ecac66462a5edde

commit e00c8edae30e54a80c29fabf1ecac66462a5edde
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-06-25 07:56:35 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-06-25 17:07:43 +0000

    media-libs/opencv: Drop vulnerable 3.4.1-r7
    
    Bug: https://bugs.gentoo.org/711284
    Bug: https://bugs.gentoo.org/729504
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/opencv/Manifest                         |   3 -
 ...opencv-3.3.0-remove-tiny-dnn-autodownload.patch |  27 --
 .../files/opencv-3.4.1-compilation-C-mode.patch    |  56 ---
 .../files/opencv-3.4.1-fix-build-with-va.patch     |  26 --
 .../opencv/files/opencv-3.4.1-fix-on-x86.patch     |  27 --
 media-libs/opencv/files/opencv-3.4.1-popcnt.patch  |  30 --
 .../opencv-3.4.1-python-lib-suffix-hack.patch      |  13 -
 .../opencv/files/opencv-3.4.1-python37.patch       |  12 -
 .../files/opencv-3.4.1-remove-git-autodetect.patch |  42 --
 media-libs/opencv/opencv-3.4.1-r7.ebuild           | 501 ---------------------
 10 files changed, 737 deletions(-)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-08 01:40:32 UTC
GLSA vote: no

Closing.