Out-of-bounds Read Affecting opencv-contrib-python-headless package, versions [4.0.0.21, 4.1.1.26)[,3.4.7.28)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.69% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-OPENCVCONTRIBPYTHONHEADLESS-1731357
  • published13 Oct 2021
  • disclosed12 Oct 2021
  • creditUnknown

Introduced: 12 Oct 2021

CVE-2019-14491  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade opencv-contrib-python-headless to version 4.1.1.26, 3.4.7.28 or higher.

Overview

opencv-contrib-python-headless is a Wrapper package for OpenCV python bindings.

Affected versions of this package are vulnerable to Out-of-bounds Read via the cv::predictOrdered<cv::HaarEvaluator> function in modules/objdetect/src/cascadedetect.hpp, which leads to a Denial of Service.

References

CVSS Scores

version 3.1