Debian DLA-804-1 : libgd2 security update

high Nessus Plugin ID 96839
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.9

Type: local

Agent: unix

Published: 1/30/2017

Updated: 1/11/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

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

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

CVSS v3

Risk Factor: High

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: 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 Ease: No known exploits are available

Patch Publication Date: 1/29/2017

Reference Information

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