Bug 968382 - (CVE-2013-2127) CVE-2013-2127 LibRaw: buffer overrun in exposure correction code
CVE-2013-2127 LibRaw: buffer overrun in exposure correction code
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Reopened, Security
Depends On: 970713
  Show dependency treegraph
Reported: 2013-05-29 11:20 EDT by Vincent Danen
Modified: 2015-11-02 09:13 EST (History)
7 users (show)

See Also:
Fixed In Version: LibRaw 0.15.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-05-30 10:16:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vincent Danen 2013-05-29 11:20:15 EDT
LibRaw 0.15.1 notes the following fix [1]:

* check for possible buffer overrun in exposure correction code

Successful exploitation could allow for the execution of arbitrary code with the privileges of the user running an application linked to LibRaw.

This has been fixed in LibRaw 0.15.1 [2].

[1] http://www.libraw.org/news/libraw-0-15-1
[2] https://github.com/LibRaw/LibRaw/commit/2f912f5b33582961b1cdbd9fd828589f8b78f21d
Comment 1 Vincent Danen 2013-05-29 11:26:45 EDT
Created LibRaw tracking bugs for this issue

Affects: fedora-all [bug 968387]
Comment 2 Gwyn Ciesla 2013-05-29 11:28:51 EDT
This seems to affect 0.15.x branch only, we ship only 0.14.x currently.  Can you verify?
Comment 3 Vincent Danen 2013-05-29 17:18:56 EDT
This has been assigned CVE-2013-2127 as per:

Comment 4 Vincent Danen 2013-05-29 19:15:25 EDT
This one I cannot tell by looking at the code whether or not we are affected.  I'm going to email upstream and ask.
Comment 5 Vincent Danen 2013-05-30 10:16:22 EDT
According to upstream, 0.14.x is not affected by this flaw:

"0.14.x are not affected by 'buffer overrun'  (this is not arbitrary access in 0.15 , but access to lookup table at fixed index [(unsigned)(-1)] )

The code calculating max real data value is completely different in 0.14 (and early 0.15 alphas), so no prior initialization of data maximum to -1."

Since we only ship 0.14.x, this does not affect Fedora at all.
Comment 6 Vincent Danen 2013-06-04 12:50:47 EDT
Digikam embeds 0.15.0.beta3 and this patch applies to it, so it needs to be updated.
Comment 7 Vincent Danen 2013-06-04 13:05:50 EDT
Created libkdcraw tracking bugs for this issue

Affects: fedora-all [bug 970713]

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