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


0.0
medium

Snyk CVSS

    Attack Complexity High
    Availability High

    Threat Intelligence

    EPSS 0.37% (73rd percentile)
Expand this section
NVD
5.9 medium
Expand this section
SUSE
3.3 low
Expand this section
Red Hat
5.9 medium

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 ID SNYK-PYTHON-OPENCVPYTHONHEADLESS-1731339
  • published 13 Oct 2021
  • disclosed 12 Oct 2021
  • credit Unknown

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.

References