Bug 1074610 - (CVE-2017-1000476) VUL-0: CVE-2017-1000476: ImageMagick: CPU exhaustion vulnerability in function ReadDDSInfo in coders/dds.c
(CVE-2017-1000476)
VUL-0: CVE-2017-1000476: ImageMagick: CPU exhaustion vulnerability in functio...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/197562/
CVSSv3:RedHat:CVE-2017-1000476:3.3:(A...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-04 09:32 UTC by Alexander Bergmann
Modified: 2019-08-16 15:41 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
QA Reproducer (224 bytes, image/x-dds)
2018-01-04 09:34 UTC, Alexander Bergmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2018-01-04 09:32:49 UTC
CVE-2017-1000476

ImageMagick 7.0.7-12 Q16, a CPU exhaustion vulnerability was found in the
function ReadDDSInfo in coders/dds.c, which allows attackers to cause a denial
of service.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-1000476
https://github.com/ImageMagick/ImageMagick/issues/867
Comment 1 Alexander Bergmann 2018-01-04 09:34:44 UTC
Created attachment 754797 [details]
QA Reproducer

I was unable to reproduce the problem.

The code, however, is present.
Comment 2 Petr Gajdos 2018-01-05 10:12:09 UTC
GraphicsMagick does not have dds.c decoder.
Comment 3 Petr Gajdos 2018-01-05 10:37:55 UTC
ImageMagick:

I am not able to reproduce either, the testcase seems to be catched by ImageMagick-CVE-2016-5687,CVE-2015-8959,CVE-2014-9907.patch already.

Following:

https://github.com/ImageMagick/ImageMagick/commit/9da3b39525982ad98f7e8f5e8183b9c613927e61

is later reverted:

https://github.com/ImageMagick/ImageMagick/commit/f685e1e0afdea91da020ada3fade22621dd459eb

for ImageMagick 7. Therefore, declared correct patch for ImageMagick 6:

https://github.com/ImageMagick/ImageMagick/commit/e5dae180b9236bccd73ce93bfce81e99232a8533

I will submit the fix with checks despite of above findings.
Comment 4 Petr Gajdos 2018-01-05 10:38:14 UTC
Considering affected: 11/ImageMagick and 12/ImageMagick
Comment 5 Petr Gajdos 2018-01-05 13:36:43 UTC
I believe all fixed.
Comment 9 Swamp Workflow Management 2018-01-09 20:23:39 UTC
SUSE-SU-2018:0055-1: An update that fixes 10 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1042948,1049373,1051412,1052252,1052771,1058082,1072902,1074122,1074425,1074610
CVE References: CVE-2017-1000445,CVE-2017-1000476,CVE-2017-11449,CVE-2017-11751,CVE-2017-12430,CVE-2017-12642,CVE-2017-14249,CVE-2017-17680,CVE-2017-17882,CVE-2017-9409
Sources used:
SUSE Linux Enterprise Workstation Extension 12-SP3 (src):    ImageMagick-6.8.8.1-71.23.1
SUSE Linux Enterprise Workstation Extension 12-SP2 (src):    ImageMagick-6.8.8.1-71.23.1
SUSE Linux Enterprise Software Development Kit 12-SP3 (src):    ImageMagick-6.8.8.1-71.23.1
SUSE Linux Enterprise Software Development Kit 12-SP2 (src):    ImageMagick-6.8.8.1-71.23.1
SUSE Linux Enterprise Server for Raspberry Pi 12-SP2 (src):    ImageMagick-6.8.8.1-71.23.1
SUSE Linux Enterprise Server 12-SP3 (src):    ImageMagick-6.8.8.1-71.23.1
SUSE Linux Enterprise Server 12-SP2 (src):    ImageMagick-6.8.8.1-71.23.1
SUSE Linux Enterprise Desktop 12-SP3 (src):    ImageMagick-6.8.8.1-71.23.1
SUSE Linux Enterprise Desktop 12-SP2 (src):    ImageMagick-6.8.8.1-71.23.1
Comment 10 Swamp Workflow Management 2018-01-15 14:14:25 UTC
openSUSE-SU-2018:0092-1: An update that fixes 10 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1042948,1049373,1051412,1052252,1052771,1058082,1072902,1074122,1074425,1074610
CVE References: CVE-2017-1000445,CVE-2017-1000476,CVE-2017-11449,CVE-2017-11751,CVE-2017-12430,CVE-2017-12642,CVE-2017-14249,CVE-2017-17680,CVE-2017-17882,CVE-2017-9409
Sources used:
openSUSE Leap 42.3 (src):    ImageMagick-6.8.8.1-46.1
openSUSE Leap 42.2 (src):    ImageMagick-6.8.8.1-30.18.1
Comment 11 Swamp Workflow Management 2018-01-18 14:16:08 UTC
SUSE-SU-2018:0132-1: An update that fixes 31 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1042948,1047044,1047898,1049373,1050120,1050606,1051412,1051446,1052252,1052468,1052550,1052710,1052720,1052731,1052732,1052771,1055065,1055323,1055434,1055855,1058082,1058640,1059751,1072902,1074122,1074123,1074425,1074610,1074969,1074973,1074975
CVE References: CVE-2017-1000445,CVE-2017-1000476,CVE-2017-10800,CVE-2017-11141,CVE-2017-11449,CVE-2017-11529,CVE-2017-11644,CVE-2017-11724,CVE-2017-11751,CVE-2017-12430,CVE-2017-12434,CVE-2017-12564,CVE-2017-12642,CVE-2017-12667,CVE-2017-12670,CVE-2017-12672,CVE-2017-12675,CVE-2017-13060,CVE-2017-13146,CVE-2017-13648,CVE-2017-13658,CVE-2017-14249,CVE-2017-14326,CVE-2017-14533,CVE-2017-17680,CVE-2017-17881,CVE-2017-17882,CVE-2017-18022,CVE-2017-9409,CVE-2018-5246,CVE-2018-5247
Sources used:
SUSE Linux Enterprise Software Development Kit 11-SP4 (src):    ImageMagick-6.4.3.6-7.78.22.1
SUSE Linux Enterprise Server 11-SP4 (src):    ImageMagick-6.4.3.6-7.78.22.1
SUSE Linux Enterprise Debuginfo 11-SP4 (src):    ImageMagick-6.4.3.6-7.78.22.1
Comment 12 Marcus Meissner 2018-02-12 08:57:00 UTC
released