Bug 1530747 (CVE-2017-17760)

Summary: CVE-2017-17760 opencv: Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.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, jmlich83, jridky, karlthered, kwizart, pkajaba, rakesh.pandit, sergio, viktor.vix.jancik
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: opencv 3.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-13 09:58:45 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: 1530748, 1530749    
Bug Blocks: 1552051    

Description Laura Pardo 2018-01-03 17:33:52 UTC
A flaw was found on OpenCV 3.3.1, a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.

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

[UPSTREAM PATCH]
https://github.com/opencv/opencv/pull/10369/commits/7bbe1a53cfc097b82b1589f7915a2120de39274c

Comment 1 Laura Pardo 2018-01-03 17:34:24 UTC
Created opencv tracking bugs for this issue:

Affects: fedora-all [bug 1530748]

Comment 3 Stefan Cornelius 2018-04-13 09:58:56 UTC
Statement:

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