Advisory

UBUNTU-CVE-2021-20246

Also known as: CVE-2021-20246

Summary

The record has no summary.

Details

A flaw was found in ImageMagick in MagickCore/resample.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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2021-03-09 19:15 UTC
Modified
2026-04-22 12:45 UTC

Affected packages and fixes

imagemagick

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 8:6.9.7.4+dfsg-16ubuntu6.12 (ecosystem)

Fixed versions

8:6.9.7.4+dfsg-16ubuntu6.12

Fix

  • Fixed version 8:6.9.7.4+dfsg-16ubuntu6.12
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

imagemagick

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 8:6.9.10.23+dfsg-2.1ubuntu11.9 (ecosystem)

Fixed versions

8:6.9.10.23+dfsg-2.1ubuntu11.9

Fix

  • Fixed version 8:6.9.10.23+dfsg-2.1ubuntu11.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences