PT-2017-4130 · Imagemagick+2 · Imagemagick+2

0Ahuo

·

Published

2017-08-31

·

Updated

2020-09-08

·

CVE-2017-14249

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions ImageMagick versions 7.0.6-8 Q16
Description The issue is related to a division by zero error in the ReadMPCImage function of the coders/mpc.c component in the ImageMagick console graphic editor. This error can be exploited by a remote attacker to cause a denial of service using a specially crafted file. The problem arises from incorrect handling of EOF checks in the ReadMPCImage function, leading to a division by zero in the GetPixelCacheTileSize function in MagickCore/cache.c.
Recommendations For ImageMagick versions 7.0.6-8 Q16, consider disabling the ReadMPCImage function in coders/mpc.c as a temporary workaround to prevent exploitation until a patch is available. Restrict access to the GetPixelCacheTileSize function in MagickCore/cache.c to minimize the risk of a denial of service attack. Avoid using crafted files that could trigger the division by zero error in the affected functions. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Divide By Zero

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-03373
CVE-2017-14249
DLA-1131-1
DLA-1785-1
DLA-2366-1
SUSE-SU-2018:0055-1
SUSE-SU-2018:0132-1
SUSE-SU-2018:0197-1
USN-3681-1

Affected Products

Imagemagick
Suse
Ubuntu