Debian DLA-1159-1 : graphicsmagick security update

high Nessus Plugin ID 104397

Synopsis

The remote Debian host is missing a security update.

Description

Maor Shwartz, Jeremy Heng and Terry Chia discovered two security vulnerabilities in Graphicsmagick, a collection of image processing tool s.

CVE-2017-16352 Graphicsmagick was vulnerable to a heap-based buffer overflow vulnerability found in the 'Display visual image directory' feature of the DescribeImage() function of the magick/describe.c file.
One possible way to trigger the vulnerability is to run the identify command on a specially crafted MIFF format file with the verbose flag.

CVE-2017-16353 Graphicsmagick was vulnerable to a memory information disclosure vulnerability found in the DescribeImage function of the magick/describe.c file, because of a heap-based buffer over-read. The portion of the code containing the vulnerability is responsible for printing the IPTC Profile information contained in the image. This vulnerability can be triggered with a specially crafted MIFF file.
There is an out-of-bounds buffer dereference because certain increments are never checked.

For Debian 7 'Wheezy', these problems have been fixed in version 1.3.16-1.1+deb7u13.

We recommend that you upgrade your graphicsmagick packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2017/11/msg00002.html

https://packages.debian.org/source/wheezy/graphicsmagick

Plugin Details

Severity: High

ID: 104397

File Name: debian_DLA-1159.nasl

Version: 3.7

Type: local

Agent: unix

Published: 11/6/2017

Updated: 1/11/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libgraphicsmagick%2b%2b1-dev, p-cpe:/a:debian:debian_linux:libgraphicsmagick1-dev, p-cpe:/a:debian:debian_linux:libgraphics-magick-perl, cpe:/o:debian:debian_linux:7.0, p-cpe:/a:debian:debian_linux:libgraphicsmagick%2b%2b3, p-cpe:/a:debian:debian_linux:graphicsmagick-dbg, p-cpe:/a:debian:debian_linux:graphicsmagick, p-cpe:/a:debian:debian_linux:graphicsmagick-imagemagick-compat, p-cpe:/a:debian:debian_linux:libgraphicsmagick3, p-cpe:/a:debian:debian_linux:graphicsmagick-libmagick-dev-compat

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/3/2017

Reference Information

CVE: CVE-2017-16352, CVE-2017-16353