Bug 1767087 (CVE-2019-17541) - CVE-2019-17541 ImageMagick: Use after free in ReadICCProfile function in coders/jpeg.c
Summary: CVE-2019-17541 ImageMagick: Use after free in ReadICCProfile function in code...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-17541
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1767090 1770633
Blocks: 1767089
TreeView+ depends on / blocked
 
Reported: 2019-10-30 16:26 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-03-31 22:35 UTC (History)
6 users (show)

Fixed In Version: ImageMagick 6.9.10-55, ImageMagick 7.0.8-55
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-31 22:35:44 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1180 0 None None None 2020-03-31 19:33:02 UTC

Description Guilherme de Almeida Suckevicz 2019-10-30 16:26:21 UTC
ImageMagick before 7.0.8-55 has a use-after-free in DestroyStringInfo in MagickCore/string.c because the error manager is mishandled in coders/jpeg.c.

References:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15827
https://github.com/ImageMagick/ImageMagick/issues/1641

Upstream commit:
https://github.com/ImageMagick/ImageMagick/commit/39f226a9c137f547e12afde972eeba7551124493

Comment 1 Guilherme de Almeida Suckevicz 2019-10-30 16:27:03 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1767090]

Comment 2 Huzaifa S. Sidhpurwala 2019-11-11 01:34:41 UTC
Notes about GraphicsMagick:
Comparing the patch with the GraphicsMagick code, it seems like GraphicsMagick may not be affected by the flaw, because the original affected code is missing.

Comment 5 errata-xmlrpc 2020-03-31 19:33:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1180 https://access.redhat.com/errata/RHSA-2020:1180

Comment 6 Product Security DevOps Team 2020-03-31 22:35:44 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-17541


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