Bug 235028

Summary: CVE-2007-1001 gd php flaws (CVE-2007-0455)
Product: Red Hat Enterprise Linux 4 Reporter: Joe Orton <jorton>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2007-0155 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-16 15:33:39 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:

Description Joe Orton 2007-04-03 14:07:49 UTC
Description of problem:
An integer overflow exists in the wbmp handling in the copy of the gd library
which is bundled in the "gd" extension:

http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdhelpers.h?r1=1.2.2.3&r2=1.2.2.3.4.1&diff_format=u

Comment 1 Joe Orton 2007-04-03 14:11:57 UTC
Additionally, per bug 224607, Kees Cook from Ubuntu reported a
"off-the-end-of-string increment", which could theoretically lead ot a buffer
overflow.  This flaw would only be exploitable if a JIS-encoded font is used when
processing a special malicious string.  (CVE-2007-0455; Impact: Low)


Comment 5 Red Hat Bugzilla 2007-04-16 15:33:39 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0155.html