Debian DSA-1613-1 : libgd2 - multiple vulnerabilities

medium Nessus Plugin ID 33552

Synopsis

The remote Debian host is missing a security-related update.

Description

Multiple vulnerabilities have been identified in libgd2, a library for programmatic graphics creation and manipulation. The Common Vulnerabilities and Exposures project identifies the following problems :

- CVE-2007-2445 Grayscale PNG files containing invalid tRNS chunk CRC values could cause a denial of service (crash), if a maliciously crafted image is loaded into an application using libgd.

- CVE-2007-3476 An array indexing error in libgd's GIF handling could induce a denial of service (crash with heap corruption) if exceptionally large color index values are supplied in a maliciously crafted GIF image file.

- CVE-2007-3477 The imagearc() and imagefilledarc() routines in libgd allow an attacker in control of the parameters used to specify the degrees of arc for those drawing functions to perform a denial of service attack (excessive CPU consumption).

- CVE-2007-3996 Multiple integer overflows exist in libgd's image resizing and creation routines; these weaknesses allow an attacker in control of the parameters passed to those routines to induce a crash or execute arbitrary code with the privileges of the user running an application or interpreter linked against libgd2.

Solution

Upgrade the libgd2 packages.

For the stable distribution (etch), these problems have been fixed in version 2.0.33-5.2etch1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443456

https://security-tracker.debian.org/tracker/CVE-2007-2445

https://security-tracker.debian.org/tracker/CVE-2007-3476

https://security-tracker.debian.org/tracker/CVE-2007-3477

https://security-tracker.debian.org/tracker/CVE-2007-3996

https://www.debian.org/security/2008/dsa-1613

Plugin Details

Severity: Medium

ID: 33552

File Name: debian_DSA-1613.nasl

Version: 1.18

Type: local

Agent: unix

Published: 7/23/2008

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libgd2, cpe:/o:debian:debian_linux:4.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: 7/22/2008

Reference Information

CVE: CVE-2007-2445, CVE-2007-3476, CVE-2007-3477, CVE-2007-3996

BID: 24651, 25498

CWE: 189, 399

DSA: 1613