Bug 2122362 (CVE-2020-35535) - CVE-2020-35535 LibRaw: Out-of-bounds read in LibRaw::parseSonySRF() function
Summary: CVE-2020-35535 LibRaw: Out-of-bounds read in LibRaw::parseSonySRF() function
Keywords:
Status: NEW
Alias: CVE-2020-35535
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2135618
Blocks: 2122363
TreeView+ depends on / blocked
 
Reported: 2022-08-29 21:08 UTC by Pedro Sampaio
Modified: 2023-08-08 03:03 UTC (History)
18 users (show)

Fixed In Version: LibRaw 0.21-Beta1, LibRaw 0.20.2, LibRaw 0.20.1, LibRaw 0.20.0, LibRaw 0.20-RC2
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in LibRaw. There is an out-of-bounds read within the "LibRaw::parseSonySRF()" function (libraw\src\metadata\sony.cpp) when processing srf files.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2022-08-29 21:08:58 UTC
In LibRaw, there is an out-of-bounds read vulnerability within the "LibRaw::parseSonySRF()" function (libraw\src\metadata\sony.cpp) when processing srf files.

Upstream issue:

https://github.com/LibRaw/LibRaw/issues/283

Upstream fix:

https://github.com/LibRaw/LibRaw/commit/c243f4539233053466c1309bde606815351bee81

Comment 1 Debarshi Ray 2022-09-07 10:56:35 UTC
What's the severity of this CVE?  Moderate?

For what it's worth, this CVE neither affects the LibRaw package in Fedora (F >= 35 has 0.20.2) nor in RHEL 9 (has 0.20.2).

I didn't check packages that carry other copies of the same code (eg., dcraw).


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