ImageMagick < 7.0.10-57 Integer Overflow

medium Nessus Plugin ID 164911

Synopsis

The remote Windows host has an application installed that is affected by an integer overflow error.

Description

The remote Windows host has a version of ImageMagick installed that is prior 7.0.10-57. It is, therefore, affected by an integer overflow error in the GetPixelIndex function. An attacker can craft a malicious PDF file that, when processed by ImageMagick, results in undefined behavior or a crash.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to ImageMagick version 7.0.10-57 or later.

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

See Also

https://github.com/ImageMagick/ImageMagick/pull/3083

Plugin Details

Severity: Medium

ID: 164911

File Name: imagemagick_7_0_10-57.nasl

Version: 1.4

Type: local

Agent: windows

Family: Windows

Published: 9/9/2022

Updated: 2/9/2023

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

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

CVSS Score Source: CVE-2021-20224

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: 8/25/2022

Vulnerability Publication Date: 8/25/2022

Reference Information

CVE: CVE-2021-20224

IAVB: 2022-B-0032-S