GLSA-200501-37 : GraphicsMagick: PSD decoding heap overflow

high Nessus Plugin ID 16428

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-200501-37 (GraphicsMagick: PSD decoding heap overflow)

Andrei Nigmatulin discovered that handling a Photoshop Document (PSD) file with more than 24 layers in ImageMagick could trigger a heap overflow (GLSA 200501-26). GraphicsMagick is based on the same code and therefore suffers from the same flaw.
Impact :

An attacker could potentially design a malicious PSD image file to cause arbitrary code execution with the permissions of the user running GraphicsMagick.
Workaround :

There is no known workaround at this time.

Solution

All GraphicsMagick users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-gfx/graphicsmagick-1.1.5'

See Also

https://security.gentoo.org/glsa/200501-26

https://security.gentoo.org/glsa/200501-37

Plugin Details

Severity: High

ID: 16428

File Name: gentoo_GLSA-200501-37.nasl

Version: 1.22

Type: local

Published: 2/14/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

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

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

Patch Publication Date: 1/26/2005

Reference Information

CVE: CVE-2005-0005

GLSA: 200501-37