Vulnerability · Published May 11, 2021 · Assigned by redhat
CVE-2021-20311
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 30.0% 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 in sRGBTransformImage() in the MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20311 |
| Alpine:v3.21 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20311 |
| Alpine:v3.22 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20311 |
| Alpine:v3.23 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20311 |
| Alpine:v3.24 | imagemagick | 7.0.11.1-r0 | ALPINE-CVE-2021-20311 |
| Debian:12 | imagemagick | 8:6.9.11.60+dfsg-1.5 | DEBIAN-CVE-2021-20311 |
| Debian:13 | imagemagick | 8:6.9.11.60+dfsg-1.5 | DEBIAN-CVE-2021-20311 |
| Debian:14 | imagemagick | 8:6.9.11.60+dfsg-1.5 | DEBIAN-CVE-2021-20311 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | ImageMagick | ImageMagick 7.0.11 |
Weakness: CWE-369
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1946739 x_refsource_MISC