Division by Zero Affecting opencv-python-headless package, versions [,4.1.1.26)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.37% (74th 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-OPENCVPYTHONHEADLESS-1731339
  • published13 Oct 2021
  • disclosed12 Oct 2021
  • creditUnknown

Introduced: 12 Oct 2021

CVE-2019-15939  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade opencv-python-headless to version 4.1.1.26 or higher.

Overview

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

Affected versions of this package are vulnerable to Division by Zero via cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp.

CVSS Scores

version 3.1