Vulnerability · Published May 11, 2021 · Assigned by redhat

CVE-2021-20310

High 7.5

In plain English

A high-severity security flaw in ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.3%top 29.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20imagemagick7.0.11.1-r0ALPINE-CVE-2021-20310
Alpine:v3.21imagemagick7.0.11.1-r0ALPINE-CVE-2021-20310
Alpine:v3.22imagemagick7.0.11.1-r0ALPINE-CVE-2021-20310
Alpine:v3.23imagemagick7.0.11.1-r0ALPINE-CVE-2021-20310
Alpine:v3.24imagemagick7.0.11.1-r0ALPINE-CVE-2021-20310

Affected products (as reported)

VendorProductVersions
n/a ImageMagick ImageMagick 7.0.11

Weakness: CWE-369

References