CVE-2021-20243 Denial of service in ImageMagick
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-20243?
CVE-2021-20243 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/resize.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-20243?
It affects 2 products.
Products include Debian Debian Linux, Imagemagick Imagemagick.
How do I fix CVE-2021-20243?
Apply the vendor's patch.
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-20243 being exploited?
There is no known exploitation of CVE-2021-20243 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-20243, GHSA-4c27-wwv3-v6h2, JLSEC-2026-880, UBUNTU-CVE-2021-20243.