Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1178736 - (CVE-2014-9427) CVE-2014-9427 php: out of bounds read when parsing a crafted .php file
CVE-2014-9427 php: out of bounds read when parsing a crafted .php file
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20141217,reported=2...
: Reopened, Security
Depends On: 1178740 1204745 1204746 1204747 1204748 1205733 1205734
Blocks: 1178738
  Show dependency treegraph
 
Reported: 2015-01-05 07:35 EST by Vasyl Kaigorodov
Modified: 2015-08-23 18:26 EDT (History)
20 users (show)

See Also:
Fixed In Version: php 5.4.37, php 5.5.21, php 5.6.5
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way PHP handled malformed source files when running in CGI mode. A specially crafted PHP file could cause PHP CGI to crash.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-03-27 08:32:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1053 normal SHIPPED_LIVE Moderate: php55 security and bug fix update 2015-06-04 08:06:06 EDT
Red Hat Product Errata RHSA-2015:1066 normal SHIPPED_LIVE Important: php54 security and bug fix update 2015-06-05 11:42:20 EDT

  None (edit)
Description Vasyl Kaigorodov 2015-01-05 07:35:15 EST
It was reported that a one byte file containing '#' and no newline causes php-cgi to segfault:

https://bugs.php.net/bug.php?id=68618

...
$ printf "#" >crashme.php
$ ./php-cgi crashme.php
Segmentation fault
...

Upstream patch that fixes this issue:
http://git.php.net/?p=php-src.git;a=commit;h=f9ad3086693fce680fbe246e4a45aa92edd2ac35
Comment 1 Vasyl Kaigorodov 2015-01-05 07:36:48 EST
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1178740]
Comment 4 Tomas Hoger 2015-01-30 15:03:16 EST
Fixed upstream in PHP 5.6.5, 5.5.21, and 5.4.37:

http://php.net/ChangeLog-5.php#5.6.5
http://php.net/ChangeLog-5.php#5.5.21
http://php.net/ChangeLog-5.php#5.4.37
Comment 5 Fedora Update System 2015-02-05 22:59:36 EST
php-5.6.5-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 6 Fedora Update System 2015-02-05 23:03:21 EST
php-5.5.21-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Vincent Danen 2015-02-09 09:49:21 EST
Statement:

This flaw requires that a user is able to upload arbitrary PHP code on the system, be a local user able to execute arbitrary PHP code, or have the ability to modify existing PHP code on the system.  It also requires that the modified/arbitrary PHP code is executed with the php-cgi program, and the net result is that php-cgi crashes, effectively resulting in a self-denial of service.

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Comment 14 errata-xmlrpc 2015-06-04 04:03:27 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS

Via RHSA-2015:1066 https://rhn.redhat.com/errata/RHSA-2015-1066.html
Comment 15 errata-xmlrpc 2015-06-04 04:06:47 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS

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

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