Debian DLA-563-1 : libgd2 security update

medium Nessus Plugin ID 92570

Synopsis

The remote Debian host is missing a security update.

Description

A global out of bounds read when encoding gif from malformed input was found in this software.

When given invalid inputs, we might be fed the EOF marker before it is actually the EOF. The gif logic assumes once it sees the EOF marker, there won't be any more data, so it leaves the cur_bits index possibly negative. So when we get more data, we underflow the masks array.

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

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/2016/07/msg00025.html

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

Plugin Details

Severity: Medium

ID: 92570

File Name: debian_DLA-563.nasl

Version: 2.8

Type: local

Agent: unix

Published: 7/27/2016

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libgd2-xpm-dev, cpe:/o:debian:debian_linux:7.0, 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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/26/2016

Reference Information

CVE: CVE-2016-6161