Bug 1707770 (CVE-2019-11470)

Summary: CVE-2019-11470 ImageMagick: denial of service in cineon parsing component
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andreas, fedora, jhorak, klember, mike, pahan, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ImageMagick 6.9.10-28, ImageMagick 7.0.8-28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 22:34:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1707773, 1707774, 1707775, 1708281    
Bug Blocks: 1707772    

Description Dhananjay Arunesh 2019-05-08 10:23:56 UTC
The cineon parsing component in ImageMagick 7.0.8-26 Q16 allows attackers to
cause a denial-of-service (uncontrolled resource consumption) by crafting a
Cineon image with an incorrect claimed image size. This occurs because
ReadCINImage in coders/cin.c lacks a check for insufficient image data in a
file.

Reference:
https://github.com/ImageMagick/ImageMagick/issues/1472

Upstream commit:
https://github.com/ImageMagick/ImageMagick/commit/e3cdce6fe12193f235b8c0ae5efe6880a25eb957

Comment 1 Dhananjay Arunesh 2019-05-08 10:30:25 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: fedora-all [bug 1707774]


Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1707773]

Comment 2 Dhananjay Arunesh 2019-05-08 10:31:10 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: epel-all [bug 1707775]

Comment 3 Riccardo Schirone 2019-05-09 10:07:03 UTC
Mitigation:

You can configure a security policy that limits the disk resource usage when running ImageMagick.
Edit /etc/ImageMagick/policy.xml with:

```
<policymap>
   ...
   <policy domain="resource" name="disk" value="1GiB"/>
   ...
</policymap>
```

Comment 7 errata-xmlrpc 2020-03-31 19:32:16 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 8 Product Security DevOps Team 2020-03-31 22:34:06 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-11470