Bug 277231 (CVE-2007-3478)

Summary: CVE-2007-3478 libgd Certain TTF handling routines are not reentrant
Product: [Other] Security Response Reporter: Lubomir Kundrak <lkundrak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: varekova
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-3478
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-13 15:55:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 277411, 277421    
Bug Blocks:    

Description Lubomir Kundrak 2007-09-04 19:52:49 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2007-3478 to the following vulnerability:

Race condition in gdImageStringFTEx (gdft_draw_bitmap) in gdft.c in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash) via unspecified vectors, possibly involving truetype font (TTF) support.

References:

http://bugs.php.net/bug.php?id=40578
http://bugs.libgd.org/?do=details&task_id=48

Comment 1 Lubomir Kundrak 2007-09-04 19:55:15 UTC
Triggering the crash is dependent on a time-dependent race condition.

Comment 3 Tomas Hoger 2008-02-08 17:20:09 UTC
Only seems relevant for multi-threaded applications.

Upstream commits referring to mentioned gd bug:
http://cvs.php.net/viewcvs.cgi/gd/libgd/src/gdft.c?r1=1.30&r2=1.32


Comment 4 Tomas Hoger 2008-02-13 15:55:02 UTC
We currently do not plan to backport a fix for this issue to gd packages in
current versions of Red Hat Enterprise Linux 2.1, 3, 4, and 5 due to low
likelihood of application possibly affected by this problem being exposed in a
way that would allow trust boundary to be crossed.