CVE-2021-20244 Denial of service in ImageMagick

Medium 5.5 Published Updated

Attackers can cause a denial of service via division by zero in ImageMagick when processing crafted files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-20244?

CVE-2021-20244 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 9 Mar 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A flaw was found in ImageMagick in MagickCore/visual-effects.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.

Weakness: CWE-369

Which versions are affected by CVE-2021-20244?

It affects 4 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Imagemagick Imagemagick, Redhat Enterprise Linux.

How do I fix CVE-2021-20244?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-20244 being exploited?

There is no known exploitation of CVE-2021-20244 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-20244, GHSA-2wj7-w2rp-g7h5, JLSEC-2026-881, UBUNTU-CVE-2021-20244.

Is CVE-2021-20244 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free