GLSA-201006-16 : GD: User-assisted execution of arbitrary code

high Nessus Plugin ID 46805

Language:

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201006-16 (GD: User-assisted execution of arbitrary code)

Tomas Hoger reported that the _gdGetColors() function in gd_gd.c does not properly verify the colorsTotal struct member, possibly leading to a buffer overflow.
Impact :

A remote attacker could entice a user to open a specially crafted image file with a program using the GD library, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application, or a Denial of Service condition.
Workaround :

There is no known workaround at this time.

Solution

All GD users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/gd-2.0.35-r1' NOTE: This is a legacy GLSA. Updates for all affected architectures are available since November 21, 2009. It is likely that your system is already no longer affected by this issue.

See Also

https://security.gentoo.org/glsa/201006-16

Plugin Details

Severity: High

ID: 46805

File Name: gentoo_GLSA-201006-16.nasl

Version: 1.13

Type: local

Published: 6/4/2010

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:gd, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 6/3/2010

Reference Information

CVE: CVE-2009-3546

BID: 36712

GLSA: 201006-16