Este conteúdo não está disponível no idioma selecionado.
7.182. php
Updated php packages that fix several bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE link(s) associated with each description below.
PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
Security Fixes
- CVE-2011-1398
- It was found that PHP did not check for carriage returns in HTTP headers, allowing intended HTTP response splitting protections to be bypassed. Depending on the web browser the victim is using, a remote attacker could use this flaw to perform a HTTP response splitting attacks.
- CVE-2012-2688
- An integer signedness issue, leading to a heap-based buffer underflow, was found in the PHP scandir() function. If a remote attacker could upload an excessively large number of files to a directory the scandir() function runs on, it could cause the PHP interpreter to crash or, possibly, execute arbitrary code.
- CVE-2012-0831
- It was found that PHP did not correctly handle the magic_quotes_gpc configuration directive. A remote attacker could use this flaw to disable the option, which may make it easier to perform SQL injection attacks.
Bug Fixes
- BZ#771738
- Prior to this update, if a negative array index value was sent to the
var_export()
function, the function returned an unsigned index ID. With this update, the function has been modified to process negative array index values correctly. - BZ#812819
- Previously, the
setDate()
,setISODate()
andsetTime()
functions did not work correctly when the correspondingDateTime
object was created from the timestamp. This bug has been fixed and the aforementioned functions now work properly. - BZ#824199
- Previously, a segmentation fault occurred when PDOStatement was reused after failing due to the NOT NULL integrity constraint. This occurred when the pdo_mysql driver was in use. With this update, a patch has been introduced to fix this issue.
- BZ#833545
- Prior to this update, the dependency of the php-mbstring package on php-common packages was missing an architecture-specific requirement. Consequently, attempts to install or patch php-common failed on machines with php-mbstring installed. With this update, the architecture-specific requirement has been added and php-common can now be installed without complications.
- BZ#836264
- Previously, the
strcpy()
function, called by theextract_sql_error_rec()
function in the unixODBC API, overwrote a guard variable in thepdo_odbc_error()
function. Consequently, a buffer overflow occurred. This bug has been fixed and the buffer overflow no longer occurs. - BZ#848186, BZ#868375
- Under certain circumstances, the
$this
object became corrupted, and behaved as a non-object. A test with theis_object()
function remained positive, but any attempt to access a member variable of$this
resulted in the following warning:Notice: Trying to get property of non-object
This behavior was caused by a bug in the Zend garbage collector. With this update, a patch has been introduced to fix garbage collection. As a result,$this
no longer becomes corrupted. - BZ#858653
- Previously, the Fileinfo extension did not use the
stat
interface from the stream wrapper. Consequently, when used with a stream object, the Fileinfo extension failed with the following message:file not found
With this update, the Fileinfo extension has been fixed to use the stream wrapper's stat interface. Note that only thefile
andphar
stream wrappers support the stat interface in PHP 5.3.3. - BZ#859371
- When the
DISABLE_AUTHENTICATOR
parameter of theimap_open()
function was specified as an array, it ignored the array input. Consequently, a GSSAPI warning was shown. This bug has been fixed andDISABLE_AUTHENTICATOR
now processes the array input correctly. - BZ#864951
- Previously, a PHP script using the ODBC interfaces could enter a deadlock when the maximum execution time period expired while it was executing an SQL statement. This occurred because the execution timer used a signal and the invoked ODBC functions were not re-entered. With this update, the underlying code has been modified and the deadlock is now less likely to occur.
Enhancements
- BZ#806132, BZ#824293
- This update adds the php-fpm package, which provides the FastCGI Process Manager.
- BZ#837042
- With this update, a php(language) virtual provide for specifying the PHP language version has been added to the php package.
- BZ#874987
- Previously, the php-xmlreader and php-xmlwriter modules were missing virtual provides. With this update, these virtual provides have been added.
All users of php are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.
Updated php packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6.
The Red Hat Security Response Team has rated this update as having critical security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link associated with the description below.
PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
Security Fix
- CVE-2013-4113
- A buffer overflow flaw was found in the way PHP parsed deeply nested XML documents. If a PHP application used the xml_parse_into_struct() function to parse untrusted XML content, an attacker able to supply specially-crafted XML could use this flaw to crash the application or, possibly, execute arbitrary code with the privileges of the user running the PHP interpreter.
All php users should upgrade to these updated packages, which contain a backported patch to resolve this issue. After installing the updated packages, the httpd daemon must be restarted for the update to take effect.