GLSA-200602-06 : ImageMagick: Format string vulnerability

medium Nessus Plugin ID 20896

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200602-06 (ImageMagick: Format string vulnerability)

The SetImageInfo function was found vulnerable to a format string mishandling. Daniel Kobras discovered that the handling of '%'-escaped sequences in filenames passed to the function is inadequate. This is a new vulnerability that is not addressed by GLSA 200503-11.
Impact :

By feeding specially crafted file names to ImageMagick, an attacker can crash the program and possibly execute arbitrary code with the privileges of the user running ImageMagick.
Workaround :

There is no known workaround at this time.

Solution

All ImageMagick users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-gfx/imagemagick-6.2.5.5'

See Also

https://security.gentoo.org/glsa/200503-11

https://security.gentoo.org/glsa/200602-06

Plugin Details

Severity: Medium

ID: 20896

File Name: gentoo_GLSA-200602-06.nasl

Version: 1.18

Type: local

Published: 2/14/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 3.8

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:imagemagick, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 2/13/2006

Reference Information

CVE: CVE-2006-0082

BID: 12717

GLSA: 200602-06