Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1610156 - (CVE-2018-5816) CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify() allows for denial of service
CVE-2018-5816 LibRaw: Integer overflow in internal/dcraw_common.cpp:identify(...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180722,repor...
: Security
Depends On: 1610157 1610159 1610158 1610160
Blocks: 1610155
  Show dependency treegraph
 
Reported: 2018-07-31 00:56 EDT by Sam Fowler
Modified: 2018-09-27 09:54 EDT (History)
7 users (show)

See Also:
Fixed In Version: LibRaw 0.18.12
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-07-31 10:40:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sam Fowler 2018-07-31 00:56:34 EDT
LibRaw versions prior to 0.18.12 are vulnerable to an integer overflow in the internal/dcraw_common.cpp:identify() function. An attacker could exploit this to cause an divide-by-zero and resultant denial of service via a specially crafted NOKIARAW file.

This vulnerability was caused by an incomplete fix to CVE-2018-5804.


Reference:

http://seclists.org/bugtraq/2018/Jul/58
Comment 1 Sam Fowler 2018-07-31 00:59:16 EDT
Created LibRaw tracking bugs for this issue:

Affects: epel-6 [bug 1610159]
Affects: fedora-all [bug 1610157]


Created mingw-LibRaw tracking bugs for this issue:

Affects: fedora-all [bug 1610158]
Comment 3 Stefan Cornelius 2018-07-31 08:59:41 EDT
This looks like the patch:
https://github.com/LibRaw/LibRaw/commit/4a3e68a41cf6d67fd83cffd2651d97d75dffcb57
Comment 4 Stefan Cornelius 2018-07-31 10:40:43 EDT
I believed this was introduced via https://github.com/LibRaw/LibRaw/commit/d5715aa86a83c756e38fdbae0e034e5a07901d49

This is not in RHEL7.
Comment 5 Stefan Cornelius 2018-07-31 10:40:52 EDT
Statement:

This issue did not affect the versions of LibRaw as shipped with Red Hat Enterprise Linux 7.
Comment 6 Debarshi Ray 2018-09-27 09:54:18 EDT
This was fixed in LibRaw 0.19.0-Beta6 and 0.18.12.

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