Bug 1532845 (CVE-2017-1000476)

Summary: CVE-2017-1000476 ImageMagick: CPU exhaustion vulnerability in function ReadDDSInfo in coders/dds.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jhorak, mike, pahan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 22:31:59 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: 1532846, 1696416    
Bug Blocks: 1696274    

Description Laura Pardo 2018-01-09 21:47:52 UTC
A flaw was found on ImageMagick 7.0.7-12 Q16, a CPU exhaustion vulnerability in the function ReadDDSInfo in coders/dds.c file, which allows attackers to cause a denial of service.

[UPSTREAM BUG]
https://github.com/ImageMagick/ImageMagick/issues/867

[UPSTREAM PATCH]
https://github.com/ImageMagick/ImageMagick/commit/e5dae180b9236bccd73ce93bfce81e99232a8533

Comment 1 Laura Pardo 2018-01-09 21:48:16 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1532846]

Comment 2 Scott Gayou 2019-04-04 19:13:31 UTC
This one is really borderline:

```
time convert poc /dev/null
convert: unexpected end-of-file `poc': No such file or directory @ error/dds.c/ReadDDSImage/403.

real	1m1.518s
user	1m1.439s
sys	0m0.044s
```

Does take one minute or so tested across multiple machines. CPU-exhaustion, a valid DOS in this case? Seems reasonable I suppose.

Comment 5 errata-xmlrpc 2020-03-31 19:31:22 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:31:59 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-2017-1000476