Bug 1552312 (CVE-2017-18209) - CVE-2017-18209 ImageMagick: NULL pointer dereference in GetOpenCLCachedFilesDirectory function in magick/opencl.c
Summary: CVE-2017-18209 ImageMagick: NULL pointer dereference in GetOpenCLCachedFilesD...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-18209
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: 1552313 1572208
Blocks: 1552322
TreeView+ depends on / blocked
 
Reported: 2018-03-06 22:31 UTC by Laura Pardo
Modified: 2019-09-29 14:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-26 12:23:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-03-06 22:31:55 UTC
A flaw was found in ImageMagick. In the GetOpenCLCachedFilesDirectory function in magick/opencl.c in ImageMagick 7.0.7, a NULL pointer dereference vulnerability occurs because a memory allocation result is not checked, related to GetOpenCLCacheDirectory.

References:
https://github.com/ImageMagick/ImageMagick/issues/790

Patch:
https://github.com/ImageMagick/ImageMagick/commit/cca91aa1861818342e3d072bb0fad7dc4ffac24a
https://github.com/ImageMagick/ImageMagick/commit/6ac2858a87df6d645813e43928b4f01a3169ad3f

Comment 1 Laura Pardo 2018-03-06 22:32:14 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1552313]


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