Bug 1610483 (CVE-2018-5811)

Summary: CVE-2018-5811 LibRaw: out-of-bounds read in nikon_coolscan_load_raw in internal/dcraw_common.cpp
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dchen, debarshir, gwync, hobbes1069, manisandro, siddharth.kde, siddhesh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: LibRaw 0.18.9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-08 15:46:21 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: 1610484    
Bug Blocks: 1610488    

Description Laura Pardo 2018-07-31 17:37:43 UTC
A flaw was found in LibRaw versions before 0.18.9. An error within the nikon_coolscan_load_raw() function (internal/dcraw_common.cpp) can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.


References:
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-10/

Comment 1 Laura Pardo 2018-07-31 17:38:24 UTC
Created LibRaw tracking bugs for this issue:

Affects: epel-6 [bug 1610484]

Comment 2 Riccardo Schirone 2018-08-08 08:47:01 UTC
Upstream patch:
https://github.com/LibRaw/LibRaw/commit/c9d8143eba4ff397163665e2119c6c5d7db54c55

Comment 3 Riccardo Schirone 2018-08-08 15:45:54 UTC
Statement:

This issue did not affect the versions of LibRaw as shipped with Red Hat Enterprise Linux 7 as they did not include the vulnerable code.