Out-of-bounds Read Affecting opencv-contrib-python-headless package, versions [,4.1.0.25)
Snyk CVSS
Attack Complexity
Low
Threat Intelligence
EPSS
0.12% (46th
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 ID SNYK-PYTHON-OPENCVCONTRIBPYTHONHEADLESS-1731329
- published 13 Oct 2021
- disclosed 12 Oct 2021
- credit Unknown
Introduced: 12 Oct 2021
CVE-2019-19624 Open this link in a new tabHow to fix?
Upgrade opencv-contrib-python-headless
to version 4.1.0.25 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. The coarsest_scale
variable is assumed to be greater than or equal to finest_scale
within the calc()/ocl_calc()
functions in dis_flow.cpp
. However, this is not true when dealing with small images, leading to an out-of-bounds read of the heap-allocated arrays Ux and Uy.