Debian DLA-1651-1 : libgd2 security update

critical Nessus Plugin ID 121483

Synopsis

The remote Debian host is missing a security update.

Description

Several issues in libgd2, a graphics library that allows to quickly draw images, have been found.

CVE-2019-6977 A potential double free in gdImage*Ptr() has been reported by Solmaz Salimi (aka. Rooney).

CVE-2019-6978 Simon Scannell found a heap-based buffer overflow, exploitable with crafted image data.

CVE-2018-1000222 A new double free vulnerabilities in gdImageBmpPtr() has been reported by Solmaz Salimi (aka. Rooney).

CVE-2018-5711 Due to an integer signedness error the GIF core parsing function can enter an infinite loop. This will lead to a Denial of Service and exhausted server resources.

For Debian 8 'Jessie', these problems have been fixed in version 2.1.0-5+deb8u12.

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/2019/01/msg00028.html

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

Plugin Details

Severity: Critical

ID: 121483

File Name: debian_DLA-1651.nasl

Version: 1.5

Type: local

Agent: unix

Published: 1/31/2019

Updated: 6/25/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2019-6978

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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:libgd-dbg, p-cpe:/a:debian:debian_linux:libgd-dev, p-cpe:/a:debian:debian_linux:libgd-tools, p-cpe:/a:debian:debian_linux:libgd2-noxpm-dev, p-cpe:/a:debian:debian_linux:libgd3, p-cpe:/a:debian:debian_linux:libgd2-xpm-dev, cpe:/o:debian:debian_linux:8.0

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: 1/30/2019

Vulnerability Publication Date: 1/16/2018

Reference Information

CVE: CVE-2018-1000222, CVE-2018-5711, CVE-2019-6977, CVE-2019-6978