Integer Overflow or Wraparound Affecting opencv package, versions >=0.0.0, <3.3.1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.89% (84th 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-COCOAPODS-OPENCV-470885
  • published2 Oct 2019
  • disclosed14 Aug 2017
  • creditUnknown

Introduced: 14 Aug 2017

CVE-2017-12863  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade OpenCV to version 3.3.1 or higher.

Overview

OpenCV is an OpenCV (Computer Vision) for iOS

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. OpenCV is vulnerable to integer overflows. The PxMDecoder::readData has a flaw which allows attackers to cause an integer overflow when calculating src_pitch. Using this flaw, attackers can launch remote code execution (RCE) attacks and denial of service (DoS) attacks.

CVSS Scores

version 3.1