Alerts This Week
Warning Icon 1 714
Alerts This Week
Warning Icon 1 714

Fedora: FEDORA-2004-412 Critical: GD Library Buffer Overflow

fedora
Calendar Grey November 11, 2004
Dist Fedora Esm H88
Exploits stemming from buffer overflow issues in the libpng library may result in arbitrary code execution when processing specially manipulated image files on Ubuntu.
Several buffer overflows were reported in various memory allocation calls

Summary

The gd graphics library allows your code to quickly draw images

complete with lines, arcs, text, multiple colors, cut and paste from

other images, and flood fills, and to write out the result as a PNG or

JPEG file. This is particularly useful in Web applications, where PNG

and JPEG are two of the formats accepted for inline images by most

browsers. Note that gd is not a paint program.

Update Information:

Several buffer overflows were reported in various memory allocation calls. An attacker could create a carefully crafted image file in such a way that it could cause ImageMagick to execute arbitrary code when processing the image. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0990 to these issues.

Whilst researching the fixes to these overflows, additional buffer overflows were discovered in calls to gdMalloc. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0941 to these issues.

Users of gd should upgrade to these updated packages, which contain a backported security patch, and are not vulnerable to these issues. * Wed Nov 03 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.28-1.30.1

- Fixed several buffer overflows for gdMalloc() calls


This update can be downloaded from:


1c43a52dbccf6fc0f41a51177f68039c SRPMS/gd-2.0.28-1.30.1.src.rpm 2d5162b7b1ee9cc41f6e449317a35544 x86_64/gd-2.0.28-...

Read the Full Advisory

Change Log

References

Fedora Update Notification FEDORA-2004-412 2004-11-11
Product : Fedora Core 3 Name : gd Version : 2.0.28 Release : 1.30.1 Summary : A graphics library for quick creation of PNG or JPEG images. Description : The gd graphics library allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and to write out the result as a PNG or JPEG file. This is particularly useful in Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. Note that gd is not a paint program.

Update Instructions

Severity
critical
Lowest
Low
Medium
High
Critical

Product: Fedora Core 3
Name: gd
Version: 2.0.28
Release: 1.30.1
Summary: A graphics library for quick creation of PNG or JPEG images.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here