Bug 1488443 (CVE-2017-14103) - CVE-2017-14103 GraphicsMagick: Use-after-free in ReadJNGImage and ReadOneJNGImage functions in coders/png.c
Summary: CVE-2017-14103 GraphicsMagick: Use-after-free in ReadJNGImage and ReadOneJNGI...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2017-14103
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: 1475495 1488444
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-05 12:05 UTC by Pedro Sampaio
Modified: 2019-09-29 14:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:24:09 UTC


Attachments (Terms of Use)

Description Pedro Sampaio 2017-09-05 12:05:31 UTC
The ReadJNGImage and ReadOneJNGImage functions in coders/png.c in
GraphicsMagick 1.3.26 do not properly manage image pointers after
certain error conditions, which allows remote attackers to conduct
use-after-free attacks via a crafted file, related to a ReadMNGImage
out-of-order CloseBlob call. 

NOTE: this vulnerability exists because of
an incomplete fix for CVE-2017-11403.

Upstream patch:

http://hg.code.sf.net/p/graphicsmagick/code/rev/98721124e51f

References:

https://bugzilla.novell.com/show_bug.cgi?id=1057000
https://blogs.gentoo.org/ago/2017/09/01/graphicsmagick-use-after-free-in-closeblob-blob-c-incomplete-fix-for-cve-2017-11403/

Comment 1 Pedro Sampaio 2017-09-05 12:05:50 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: epel-all [bug 1488444]

Comment 2 Andrej Nemec 2017-09-06 13:24:16 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: fedora-all [bug 1475495]

Comment 3 Product Security DevOps Team 2019-06-08 03:24:09 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


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