Bug 1177734 (CVE-2014-9425) - CVE-2014-9425 php: Double-free in zend_ts_hash_graceful_destroy()
Summary: CVE-2014-9425 php: Double-free in zend_ts_hash_graceful_destroy()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2014-9425
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1178728 1204762 1204763
Blocks: 1177738 1210213
TreeView+ depends on / blocked
 
Reported: 2014-12-30 07:07 UTC by Huzaifa S. Sidhpurwala
Modified: 2021-02-17 05:52 UTC (History)
6 users (show)

Fixed In Version: php 5.5.21, php 5.6.5
Doc Type: Bug Fix
Doc Text:
A double free flaw was found in zend_ts_hash_graceful_destroy() function in the PHP ZTS module. This flaw could possibly cause a PHP application to crash.
Clone Of:
Environment:
Last Closed: 2015-07-09 21:42:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1218 0 normal SHIPPED_LIVE Moderate: php security update 2015-07-09 21:01:41 UTC

Description Huzaifa S. Sidhpurwala 2014-12-30 07:07:07 UTC
A double-free flaw was found in PHP in the zend_ts_hash_graceful_destroy() function. This issue affects all versions of PHP. Initial investigations suggests that it may not be exploitable and can only result in a crash.

References:

Upstream bug: https://bugs.php.net/bug.php?id=68676

Commits:
http://git.php.net/?p=php-src.git;a=commit;h=2bcf69d073190e4f032d883f3416dea1b027a39e
http://git.php.net/?p=php-src.git;a=commit;h=24125f0f26f3787c006e4a51611ba33ee3b841cb
http://git.php.net/?p=php-src.git;a=commit;h=fbf3a6bc1abcc8a5b5226b0ad9464c37f11ddbd6

Comment 1 Remi Collet 2014-12-30 10:25:20 UTC
As this code is ZTS specific, it only affects ZTS enabled build.
(in RHEL, only php/rhel-6 have ZTS build, provided as experimental)

Comment 2 Vasyl Kaigorodov 2015-01-05 11:40:59 UTC
(In reply to Remi Collet from comment #1)
> As this code is ZTS specific, it only affects ZTS enabled build.
> (in RHEL, only php/rhel-6 have ZTS build, provided as experimental)

And what about Fedora builds, are these ZTS enabled too?

Comment 3 Remi Collet 2015-01-05 11:43:38 UTC
(In reply to Vasyl Kaigorodov from comment #2)

> And what about Fedora builds, are these ZTS enabled too?

Yes, Fedora build have ZTS.

Comment 4 Vasyl Kaigorodov 2015-01-05 12:15:13 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1178728]

Comment 5 Huzaifa S. Sidhpurwala 2015-01-07 05:44:50 UTC
Statement:

This issue did not affect the versions of php and php53 as shipped with Red Hat Enterprise Linux 5, and the versions of php as shipped with Red Hat Enterprise Linux 7.

Comment 6 Tomas Hoger 2015-03-25 14:00:48 UTC
Fixed upstream in PHP 5.6.5 and 5.5.21:

http://php.net/ChangeLog-5.php#5.5.21
http://php.net/ChangeLog-5.php#5.6.5

Comment 9 errata-xmlrpc 2015-07-09 17:02:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2015:1218 https://rhn.redhat.com/errata/RHSA-2015-1218.html


Note You need to log in before you can comment on or make changes to this bug.