Amazon Linux AMI : GraphicsMagick (ALAS-2016-717)

critical Nessus Plugin ID 91769


The remote Amazon Linux AMI host is missing a security update.


It was discovered that GraphicsMagick did not properly sanitize certain input before using it to invoke processes. A remote attacker could create a specially crafted image that, when processed by an application using GraphicsMagick or an unsuspecting user using the GraphicsMagick utilities, would lead to arbitrary execution of shell commands with the privileges of the user running the application.

Vulnerabilities in GraphicsMagick's SVG processing code were discovered, resulting in memory corruption and, potentially, execution of arbitrary code, a denial of service, or an application crash.
(CVE-2016-2317 , CVE-2016-2318 , CVE-2016-5118)


Run 'yum update GraphicsMagick' to update your system.

See Also

Plugin Details

Severity: Critical

ID: 91769

File Name: ala_ALAS-2016-717.nasl

Version: 2.3

Type: local

Agent: unix

Published: 6/23/2016

Updated: 4/18/2018

Supported Sensors: Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent

Risk Information


Risk Factor: High

Score: 7.4


Risk Factor: Critical

Base Score: 10

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


Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:GraphicsMagick, p-cpe:/a:amazon:linux:graphicsmagick-c%2b%2b, p-cpe:/a:amazon:linux:graphicsmagick-c%2b%2b-devel, p-cpe:/a:amazon:linux:GraphicsMagick-debuginfo, p-cpe:/a:amazon:linux:GraphicsMagick-devel, p-cpe:/a:amazon:linux:GraphicsMagick-doc, p-cpe:/a:amazon:linux:GraphicsMagick-perl, cpe:/o:amazon:linux

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Patch Publication Date: 6/22/2016

Reference Information

CVE: CVE-2016-2317, CVE-2016-2318, CVE-2016-5118, CVE-2016-5241

ALAS: 2016-717