Bug 529213 (CVE-2009-3546)
Summary: | CVE-2009-3546 gd: insufficient input validation in _gdGetColors() | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Tomas Hoger <thoger> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | extras-orphan, fedora, jlieskov, jmoskovc, jorton, kreilly, pertusus, rpm, varekova, vdanen |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-03-29 09:10:25 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: | 537908, 541594, 541595, 541596, 541597, 541598, 541630, 541631, 541632, 541633, 548502, 647242, 830745, 833901 | ||
Bug Blocks: |
Description
Tomas Hoger
2009-10-15 14:34:08 UTC
MITRE's CVE-2009-3546 record: ------------------------------ The _gdGetColors function in gd_gd.c in PHP 5.2.11 and 5.3.0, and the GD Graphics Library 2.x, does not properly verify a certain colorsTotal structure member, which might allow remote attackers to conduct buffer overflow or buffer over-read attacks via a crafted GD file, a different vulnerability than CVE-2009-3293. NOTE: some of these details are obtained from third party information. php-5.3.1-1.fc12,maniadrive-1.2-19.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/php-5.3.1-1.fc12,maniadrive-1.2-19.fc12 php-5.3.1-1.fc12, maniadrive-1.2-19.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. This issue has been addressed in following products: Red Hat Enterprise Linux 4 Red Hat Enterprise Linux 5 Via RHSA-2010:0003 https://rhn.redhat.com/errata/RHSA-2010-0003.html This issue has been addressed in following products: Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 4 Red Hat Enterprise Linux 3 Via RHSA-2010:0040 https://rhn.redhat.com/errata/RHSA-2010-0040.html php-5.2.12-1.fc11, maniadrive-1.2-17.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. As noted in a Debian bug report [1], plt-scheme has an embedded copy of GD that is vulnerable to this. I'm not sure if it's possible to make plt-scheme link to the system libgd or not (I would hope it is), but regardless this needs to be fixed. I verified that the _gdGetColors() function exists in both F12 and F13 by searching on binary symbols: $ ./rqp -z gdGetColors rqp 0.6 ($Id: rqp 395 2010-10-17 04:26:14Z vdanen $) Searching database records for substring match for symbols (gdGetColors) Results in Tag: f12_i386 ======================================== gd-2.0.35-9.fc12 (gd): _gdGetColors in /usr/lib/libgd.so.2.0.0 plt-scheme-4.1.2-3.fc12 (plt-scheme): _gdGetColors in /usr/lib/plt/collects/plot/compiled/native/i386-linux/libplplot.so Results in Tag: f12_x86_64 ======================================== gd-2.0.35-9.fc12 (gd): _gdGetColors in /usr/lib/libgd.so.2.0.0 gd-2.0.35-9.fc12 (gd): _gdGetColors in /usr/lib64/libgd.so.2.0.0 plt-scheme-4.1.2-3.fc12 (plt-scheme): _gdGetColors in /usr/lib64/plt/collects/plot/compiled/native/x86_64-linux/libplplot.so Similar results in F13 and I suspect F14 and rawhide as well. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601525 Created gd tracking bugs for this issue Affects: fedora-all [bug 830745] |