PT-2017-4339 · Intel+1 · Opencv+1

Xiaoqx

·

Published

2017-08-04

·

Updated

2021-11-30

·

CVE-2017-12603

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: OpenCV versions through 3.3
Description: The issue is related to an invalid write in the cv::RLByteStream::getBytes function in modules/imgcodecs/src/bitstrm.cpp when reading an image file using cv::imread. This can lead to a buffer overflow, potentially allowing a remote attacker to access confidential data, compromise data integrity, and cause a denial of service.
Recommendations: For OpenCV versions through 3.3, as a temporary workaround, consider disabling the cv::RLByteStream::getBytes function until a patch is available. Restrict access to the modules/imgcodecs/src/bitstrm.cpp module to minimize the risk of exploitation. Avoid using the cv::imread function to read image files until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-07603
CVE-2017-12603
DLA-1117-1
DLA-1438-1
DLA-2799-1
GHSA-6V6P-P97V-G2P7
OPENSUSE-SU-2018_1385-1

Affected Products

Opencv
Suse