Bug 1531268 (CVE-2017-18009)

Summary: CVE-2017-18009 opencv: heap-based buffer over-read in function cv::HdrDecoder::checkSignature in modules/imgcodecs/src/grfmt_hdr.cpp
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andrew, databases-maint, hhorak, jkucera, jmlich83, jridky, karlthered, kwizart, rakesh.pandit, sergio, viktor.vix.jancik
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:36:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1531277    
Bug Blocks: 1696280    

Description Laura Pardo 2018-01-04 20:45:32 UTC
A flaw was found in OpenCV 3.3.1, a heap-based buffer over-read exists in the function cv::HdrDecoder::checkSignature in modules/imgcodecs/src/grfmt_hdr.cpp. 

[UPSTREAM BUG]
https://github.com/opencv/opencv/issues/10479

[UPSTREAM PATCH]
https://github.com/opencv/opencv/pull/10480

Comment 1 Laura Pardo 2018-01-04 21:15:54 UTC
Created opencv tracking bugs for this issue:

Affects: fedora-all [bug 1531277]

Comment 2 Stefan Cornelius 2019-06-02 18:44:12 UTC
RHEL6 and 7 don't ship the affected code, RHEL8 already contains the fix.

Comment 3 Stefan Cornelius 2019-06-02 18:44:14 UTC
Statement:

This issue did not affect the versions of opencv as shipped with Red Hat Enterprise Linux 6, 7, and 8.