OpenCV up to 3.3 utils.cpp FillUniColor/FillUniGray integer overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.9$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in OpenCV up to 3.3. Affected is the function FillUniColor/FillUniGray of the file opencv/modules/imgcodecs/src/utils.cpp. This manipulation causes integer overflow. This vulnerability appears as CVE-2017-1000450. The attack may be initiated remotely. There is no available exploit. You should upgrade the affected component.

Detailsinfo

A vulnerability has been found in OpenCV up to 3.3 (Image Processing Software) and classified as critical. Affected by this vulnerability is the function FillUniColor/FillUniGray of the file opencv/modules/imgcodecs/src/utils.cpp. The manipulation with an unknown input leads to a integer overflow vulnerability. The CWE definition for the vulnerability is CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the input length, which can lead to integer overflow. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.

The bug was discovered 09/27/2017. The weakness was presented 01/02/2018 (Website). The advisory is shared at github.com. This vulnerability is known as CVE-2017-1000450 since 01/02/2018. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 97 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 105662 (Debian DLA-1235-1 : opencv security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 171252 (OpenSUSE Security Update for opencv (openSUSE-SU-2018:1438-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 6 days after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (105662). See VDB-111173, VDB-111215, VDB-111470 and VDB-111471 for similar entries. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.0
VulDB Meta Temp Score: 7.9

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Integer overflow
CWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 105662
Nessus Name: Debian DLA-1235-1 : opencv security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 865939
OpenVAS Name: Debian Lts Announce DLA 1235-1 ([SECURITY] [DLA 1235-1] opencv security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

09/27/2017 🔍
01/02/2018 +97 days 🔍
01/02/2018 +0 days 🔍
01/02/2018 +0 days 🔍
01/03/2018 +1 days 🔍
01/08/2018 +5 days 🔍
01/09/2018 +1 days 🔍
01/19/2023 +1836 days 🔍

Sourcesinfo

Advisory: 9723
Status: Not defined

CVE: CVE-2017-1000450 (🔍)
GCVE (CVE): GCVE-0-2017-1000450
GCVE (VulDB): GCVE-100-111253
See also: 🔍

Entryinfo

Created: 01/03/2018 09:20
Updated: 01/19/2023 18:20
Changes: 01/03/2018 09:20 (74), 12/19/2019 08:56 (3), 01/19/2023 18:13 (4), 01/19/2023 18:20 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!