PT-2021-4060 · Unknown+1 · Imagemagick+1

Pedro Sampaio

·

Published

2021-02-25

·

Updated

2023-08-31

·

CVE-2021-20310

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions ImageMagick versions prior to 7.0.11
Description A flaw in ImageMagick may trigger undefined behavior via a crafted image file, potentially leading to system availability issues. The issue is related to a division by zero in the ConvertXYZToJzazbz() function of MagickCore/colorspace.c. An attacker could exploit this by submitting a specially crafted image file to an application using ImageMagick, potentially causing a denial of service.
Recommendations For versions prior to 7.0.11, update to version 7.0.11 or later to resolve the issue. As a temporary workaround, consider restricting the use of the ConvertXYZToJzazbz() function until a patch is applied. Avoid processing untrusted image files with ImageMagick until the issue is resolved.

Fix

Divide By Zero

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

Weakness Enumeration

Related Identifiers

ALT-PU-2023-5309
BDU:2021-04600
CVE-2021-20310

Affected Products

Alt Linux
Imagemagick