OpenCV 3.3.1 bitstrm.cpp cv::RBaseStream::setPos input validation

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.
5.4$0-$5k0.00

Summaryinfo

A vulnerability has been found in OpenCV 3.3.1 and classified as critical. This affects the function cv::RBaseStream::setPos of the file modules/imgcodecs/src/bitstrm.cpp. Performing a manipulation results in input validation. This vulnerability is identified as CVE-2018-5269. The attack is only possible with local access. There is not any exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in OpenCV 3.3.1 (Image Processing Software). It has been classified as critical. This affects the function cv::RBaseStream::setPos of the file modules/imgcodecs/src/bitstrm.cpp. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. This is going to have an impact on availability. The summary by CVE is:

In OpenCV 3.3.1, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because of an incorrect integer cast.

The bug was discovered 01/07/2018. The weakness was released 01/08/2018 (Website). It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2018-5269 since 01/07/2018. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 110181 (openSUSE Security Update : opencv (openSUSE-2018-534)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE 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 5 months after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (110181). Entries connected to this vulnerability are available at VDB-111173, VDB-111215, VDB-111253 and VDB-111470. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.4

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 110181
Nessus Name: openSUSE Security Update : opencv (openSUSE-2018-534)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 58307
OpenVAS Name: Debian LTS Advisory ([SECURITY] [DLA 1354-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

01/07/2018 🔍
01/07/2018 +0 days 🔍
01/08/2018 +1 days 🔍
01/08/2018 +0 days 🔍
01/08/2018 +0 days 🔍
05/28/2018 +140 days 🔍
05/29/2018 +1 days 🔍
01/20/2023 +1697 days 🔍

Sourcesinfo

Product: github.com

Advisory: 10540
Status: Not defined

CVE: CVE-2018-5269 (🔍)
GCVE (CVE): GCVE-0-2018-5269
GCVE (VulDB): GCVE-100-111471
SecurityFocus: 106945

See also: 🔍

Entryinfo

Created: 01/08/2018 15:21
Updated: 01/20/2023 11:12
Changes: 01/08/2018 15:21 (65), 12/20/2019 11:30 (11), 01/29/2021 09:29 (3), 01/20/2023 11:05 (3), 01/20/2023 11:12 (1)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!