Bug 1591879 (CVE-2018-5804) - CVE-2018-5804 LibRaw: type confusion error in identify() function in internal/dcraw_common.cpp
Summary: CVE-2018-5804 LibRaw: type confusion error in identify() function in internal...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-5804
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1591880 1591881 1591882 1591883 1591884 1591885 1610499
Blocks: 1591907
TreeView+ depends on / blocked
 
Reported: 2018-06-15 18:05 UTC by Pedro Sampaio
Modified: 2021-02-17 00:07 UTC (History)
15 users (show)

Fixed In Version: LibRaw 0.18.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:29:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2018-06-15 18:05:04 UTC
A type confusion error within the "identify()" function
(internal/dcraw_common.cpp) can be exploited to trigger a division by
zero.

References:

https://secuniaresearch.flexerasoftware.com/secunia_research/2018-03

Comment 1 Pedro Sampaio 2018-06-15 18:05:33 UTC
Created LibRaw tracking bugs for this issue:

Affects: epel-6 [bug 1591885]
Affects: fedora-all [bug 1591880]


Created dcraw tracking bugs for this issue:

Affects: fedora-all [bug 1591882]


Created libkdcraw tracking bugs for this issue:

Affects: fedora-all [bug 1591883]


Created mingw-LibRaw tracking bugs for this issue:

Affects: fedora-all [bug 1591881]


Created rawtherapee tracking bugs for this issue:

Affects: fedora-all [bug 1591884]

Comment 4 Adam Mariš 2018-07-31 19:06:27 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.

This issue did not affect the versions of dcraw as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include the vulnerable code.

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

Comment 5 Debarshi Ray 2018-11-22 17:14:08 UTC
This was fixed in LibRaw-0.18.8 and LibRaw-0.19.0-Beta1.


Note You need to log in before you can comment on or make changes to this bug.