Out-of-bounds Write Affecting opencv-contrib-python package, versions [,3.3.1.11)
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
EPSS
0.32% (71st
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-OPENCVCONTRIBPYTHON-1731353
- published 13 Oct 2021
- disclosed 12 Oct 2021
- credit Unknown
Introduced: 12 Oct 2021
CVE-2017-12603 Open this link in a new tabHow to fix?
Upgrade opencv-contrib-python
to version 3.3.1.11 or higher.
Overview
opencv-contrib-python is a Wrapper package for OpenCV python bindings.
Affected versions of this package are vulnerable to Out-of-bounds Write. It has an invalid write in the cv::RLByteStream::getBytes
function in modules/imgcodecs/src/bitstrm.cpp
when reading an image file by using cv::imread
, as demonstrated by the 2-opencv-heapoverflow-fseek
test case.