Vulnerability · Published Feb 5, 2021 · Assigned by redhat
CVE-2021-20176
Medium 5.5
In plain English
A medium-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 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.9%top 39.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A divide-by-zero flaw was found in ImageMagick 6.9.11-57 and 7.0.10-57 in gem.c. This flaw allows an attacker who submits a crafted file that is processed by ImageMagick to trigger undefined behavior through a division by zero. 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.10.57-r0 | ALPINE-CVE-2021-20176 |
| Alpine:v3.21 | imagemagick | 7.0.10.57-r0 | ALPINE-CVE-2021-20176 |
| Alpine:v3.22 | imagemagick | 7.0.10.57-r0 | ALPINE-CVE-2021-20176 |
| Alpine:v3.23 | imagemagick | 7.0.10.57-r0 | ALPINE-CVE-2021-20176 |
| Alpine:v3.24 | imagemagick | 7.0.10.57-r0 | ALPINE-CVE-2021-20176 |
| Debian:12 | imagemagick | 8:6.9.11.57+dfsg-1 | DEBIAN-CVE-2021-20176 |
| Debian:13 | imagemagick | 8:6.9.11.57+dfsg-1 | DEBIAN-CVE-2021-20176 |
| Debian:14 | imagemagick | 8:6.9.11.57+dfsg-1 | DEBIAN-CVE-2021-20176 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | ImageMagick | 6.9.11-57, 7.0.10-57 |
Weakness: CWE-369