Debian DLA-804-1 : libgd2 security update

High Nessus Plugin ID 96839

Synopsis

The remote Debian host is missing a security update.

Description

Multiple security issues have been found in the GD Graphics Library.
They may lead to the execution of arbitrary code or causing application crash.

CVE-2016-9317

Signed integer overflow in gd_io.c

CVE-2016-10167

Improper handling of issing image data can cause crash

CVE-2016-10168

GD2 stores the number of horizontal and vertical chunks as words (i.e.
2 byte unsigned). These values are multiplied and assigned to an int when reading the image, what can cause integer overflows.

For Debian 7 'Wheezy', these problems have been fixed in version 2.0.36~rc1~dfsg-6.1+deb7u8.

We recommend that you upgrade your libgd2 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/01/msg00040.html

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

Plugin Details

Severity: High

ID: 96839

File Name: debian_DLA-804.nasl

Version: 3.7

Type: local

Agent: unix

Published: 2017/01/30

Updated: 2018/07/09

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.1

Temporal Score: 5.3

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libgd-tools, p-cpe:/a:debian:debian_linux:libgd2-noxpm, p-cpe:/a:debian:debian_linux:libgd2-noxpm-dev, p-cpe:/a:debian:debian_linux:libgd2-xpm, p-cpe:/a:debian:debian_linux:libgd2-xpm-dev, cpe:/o:debian:debian_linux:7.0

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

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2017/01/29

Reference Information

CVE: CVE-2016-10167, CVE-2016-10168, CVE-2016-9317