Bug 1622738 (CVE-2018-15607) - CVE-2018-15607 ImageMagick: CPU Exhaustion via crafted input file
Summary: CVE-2018-15607 ImageMagick: CPU Exhaustion via crafted input file
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-15607
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: 1622739 1622740 1633141
Blocks: 1622741
TreeView+ depends on / blocked
 
Reported: 2018-08-27 22:32 UTC by Laura Pardo
Modified: 2021-02-16 23:09 UTC (History)
3 users (show)

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


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:31:58 UTC

Description Laura Pardo 2018-08-27 22:32:13 UTC
A flaw was found in ImageMagick 7.0.8-11 Q16, a tiny input file 0x50 0x36 0x36 0x36 0x36 0x4c 0x36 0x38 0x36 0x36 0x36 0x36 0x36 0x36 0x1f 0x35 0x50 0x00 can result in a hang of several minutes during which CPU and memory resources are consumed until ultimately an attempted large memory allocation fails. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted file.


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

Comment 1 Laura Pardo 2018-08-27 22:32:41 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1622739]

Comment 6 Adam Mariš 2018-09-26 14:03:17 UTC
Mitigation:

Administrators can mitigate this issue by setting reasonable limits on size of processed image, consumed memory, time limit, etc. For example, disallowing the processing of large images (e.g. having either width or height larger than 10240 pixels) which consumes a lot of CPU time can be done by adding the following XML child elements under <policymap> element in /etc/ImageMagick/policy.xml:

```
<policy domain="resource" name="width" value="10KP"/>
<policy domain="resource" name="height" value="10KP"/>
```

Comment 7 Adam Mariš 2018-09-26 14:07:20 UTC
Statement:

This issue affects the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue affects the versions of ImageMagick as shipped with Red Hat Enterprise Linux 6. Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Low, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Comment 8 errata-xmlrpc 2020-03-31 19:31:56 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 9 Product Security DevOps Team 2020-03-31 22:33:11 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-2018-15607


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