ImageMagick < 6.9.11-62, 7.0.0 < 7.0.10-62 Divide By Zero

medium Nessus Plugin ID 147894

Synopsis

The remote Windows host has an application installed that is affected Divide By Zero vulnerability.

Description

The remote Windows host has a version of ImageMagick installed that is prior to 6.9.11-62 or 7.0.x prior to 7.0.10-62.
It is, therefore, affected by following vulnerablities.

- A flaw was found in ImageMagick in coders/webp.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. (CVE-2021-20245)

- 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. (CVE-2021-20246)

Solution

Upgrade to ImageMagick version 6.9.11-62 or 7.0.10-62 or later.

Note that you may need to manually uninstall the vulnerable version from the system.

See Also

https://github.com/ImageMagick/ImageMagick/issues/3176

Plugin Details

Severity: Medium

ID: 147894

File Name: imagemagick_7_0_10-62.nasl

Version: 1.5

Type: local

Agent: windows

Family: Windows

Published: 3/19/2021

Updated: 6/4/2024

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2021-20246

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:imagemagick:imagemagick

Required KB Items: installed_sw/ImageMagick

Exploit Ease: No known exploits are available

Patch Publication Date: 2/9/2021

Vulnerability Publication Date: 3/9/2021

Reference Information

CVE: CVE-2021-20245, CVE-2021-20246

IAVB: 2021-B-0017-S