Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 461
Alerts This Week
Warning Icon 1 461

Fedora Core 2: 2024-411 Critical: gd Buffer Overflow Risk Update

fedora
Calendar Grey November 11, 2004
Scroller Fedora
Critical buffer overflows detected in gd library that could jeopardize Fedora; immediate upgrade is advised.
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. * Thu Nov 04 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.21-5.20.1

- Backport of fix for several buffer overflows in gdMalloc() calls


This update can be downloaded from:


860ef179fc02b24faeb9c7ad6d3dd2c5 SRPMS/gd-2.0.21-5.20.1.src.rpm cc924e3a5eb622f8729a8940472bc19f x86_...

Read the Full Advisory

Change Log

References

Fedora Update Notification FEDORA-2004-411 2004-11-11
Product : Fedora Core 2 Name : gd Version : 2.0.21 Release : 5.20.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 2
Name: gd
Version: 2.0.21
Release: 5.20.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.