GD Graphics Library gdMalloc buffer overflow
| gd-graphics-gdmalloc-bo (18048) |
Description:
GD Graphics Library (gd) is vulnerable to a buffer overflow, caused by improper bounds checking when the gdMalloc function is called. A remote attacker could exploit this vulnerability to overflow a buffer and execute arbitrary code on the system with privileges of GD Graphics Library.
Consequences:
Gain Access
Remedy:
For Trustix Secure Linux:
Upgrade to the latest gd package, as listed below. Refer to Trustix Secure Linux Security Advisory #2004-0058 for more information. See References.
Trustix Secure Linux 2.2: 2.0.33-3tr or later
For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest libgd package (1.8.4-17.woody4 or later), as listed in DSA-601-1. See References.
For Ubuntu Linux:
Upgrade to the latest libgd1-noxpm or gd1-xpm package (1.8.4-36ubuntu0.2 or later), as listed in USN-33-1 November 29, 2004. See References.
For Red Hat Linux:
Refer to RHSA-2006:0194-4 or RHSA-2004:638-14 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- Boutell Web site: GD Graphics Library.
- CIAC Information Bulletin P-071: Updated "gd" Packages.
- Fedora Update Notification FEDORA-2004-411: A graphics library for quick creation of PNG or JPEG images.. (From LinuxSecurity archive)
- Fedora Update Notification FEDORA-2004-412: A graphics library for quick creation of PNG or JPEG images.. (From LinuxSecurity archive)
- Trustix Secure Linux Security Advisory #2004-0058: Various security fixes.
- BID-11663: GD Graphics Library Multiple Unspecified Remote Buffer overflow Vulnerabilities
- CVE-2004-0941: Multiple buffer overflows in the gd graphics library (libgd) 2.0.21 and earlier may allow remote attackers to execute arbitrary code via malformed image files that trigger the overflows due to improper calls to the gdMalloc function, a different set of vulnerabilities than CVE-2004-0990.
- DSA-601: libgd -- integer overflow
- DSA-602: libgd2 -- integer overflow
- MDKSA-2004:132: Updated gd packages fix integer overflows
- MDKSA-2006:114: Updated libwmf packages fixes embedded GD vulnerability
- MDKSA-2006:114-1: Updated libwmf packages fixes embedded GD vulnerability
- MDKSA-2006:122: Updated php packages fix multiple vulnerabilities
- RHSA-2004-638: gd security update
- RHSA-2006-0194: gd security update
- SA13179: GD Graphics Library Unspecified Buffer Overflow Vulnerabilities
Platforms Affected:
- Boutell GD Graphics Library 2.x
- Canonical Ubuntu 4.10
- Debian Debian Linux 3.0
- MandrakeSoft Mandrake Linux 10.0
- MandrakeSoft Mandrake Linux 10.0 AMD64
- MandrakeSoft Mandrake Linux 10.1
- MandrakeSoft Mandrake Linux 10.1 X86_64
- MandrakeSoft Mandrake Linux 2006
- MandrakeSoft Mandrake Linux 2006 X86_64
- MandrakeSoft Mandrake Linux 9.2 AMD64
- MandrakeSoft Mandrake Linux 9.2
- MandrakeSoft Mandrake Linux LE2005 X86_64
- MandrakeSoft Mandrake Linux LE2005
- MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 2.1
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Multi Network Firewall 2.0
- RedHat Enterprise Linux 2.1 AW
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 WS
- RedHat Linux Advanced Workstation 2.1 Itanium
- Trustix Secure Linux 2.2
- Turbolinux Turbolinux 10 Desktop
- Turbolinux Turbolinux 10 F...
- Turbolinux Turbolinux 10 Server
- Turbolinux Turbolinux 10 Server x64 Ed
- Turbolinux Turbolinux FUJI
- Turbolinux Turbolinux Home
- Turbolinux Turbolinux Appliance Server 2.0
Reported:
Nov 12, 2004
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
