Bug 758413 (CVE-2011-4566)

Summary: CVE-2011-4566 php: integer overflow in exif_process_IFD_TAG() may lead to DoS or arbitrary memory disclosure
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dkutalek, fedora, jorton, vvitek
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php 5.3.9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-30 18:49:43 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: 740734, 768025, 769754, 769755, 769756, 769758, 769761, 831137    
Bug Blocks: 750552, 758423    

Description Vincent Danen 2011-11-29 18:57:08 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2011-4566 to
the following vulnerability:

Name: CVE-2011-4566
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4566
Assigned: 20111128
Reference: https://bugs.php.net/bug.php?id=60150

Integer overflow in the exif_process_IFD_TAG function in exif.c in the
exif extension in PHP 5.4.0beta2 on 32-bit platforms allows remote
attackers to read the contents of arbitrary memory locations or cause
a denial of service via a crafted offset_val value in an EXIF header
in a JPEG file, a different vulnerability than CVE-2011-0708.



Although the CVE description specifically indicates 5.4.0beta2 is affected, it does look like this could go back as far as PHP4.  There is an upstream patch [1] that corrects this which looks applicable even to PHP4.

[1] http://svn.php.net/viewvc/?view=revision&amp;revision=319535

Comment 5 Vincent Danen 2012-01-11 05:16:55 UTC
PHP 5.3.9 has been released with this fix:

http://www.php.net/archive/2012.php#id2012-01-11-1

Comment 6 errata-xmlrpc 2012-01-11 18:33:01 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5
  Red Hat Enterprise Linux 6

Via RHSA-2012:0019 https://rhn.redhat.com/errata/RHSA-2012-0019.html

Comment 7 Huzaifa S. Sidhpurwala 2012-01-17 03:59:51 UTC
This issue affects the version of php package as shipped with Fedora 15 and 16. It has been addressed via the following security advisories:

Fedora-15: https://admin.fedoraproject.org/updates/FEDORA-2012-0420/php-5.3.9-1.fc15,maniadrive-1.2-32.fc15.1,php-eaccelerator-0.9.6.1-9.fc15.1

Fedora-16: https://admin.fedoraproject.org/updates/FEDORA-2012-0504/php-5.3.9-1.fc16,maniadrive-1.2-32.fc16.1,php-eaccelerator-0.9.6.1-9.fc16.1

Comment 8 errata-xmlrpc 2012-01-18 18:45:01 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:0033 https://rhn.redhat.com/errata/RHSA-2012-0033.html

Comment 9 errata-xmlrpc 2012-01-30 18:18:47 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2012:0071 https://rhn.redhat.com/errata/RHSA-2012-0071.html