OpenCV 3.3.1 bitstrm.cpp cv::RBaseStream::setPos input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.4 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
Website
- Product: https://github.com/opencv/opencv/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
01/07/2018 🔍01/07/2018 🔍
01/08/2018 🔍
01/08/2018 🔍
01/08/2018 🔍
05/28/2018 🔍
05/29/2018 🔍
01/20/2023 🔍
Sources
Product: github.comAdvisory: 10540
Status: Not defined
CVE: CVE-2018-5269 (🔍)
GCVE (CVE): GCVE-0-2018-5269
GCVE (VulDB): GCVE-100-111471
SecurityFocus: 106945
See also: 🔍
Entry
Created: 01/08/2018 15:21Updated: 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.
No comments yet. Languages: en.
Please log in to comment.