Patch  oval:com.redhat.rhsa:def:20120033
RHSA-2012:0033: php security update (Moderate)  

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
It was found that the hashing routine used by PHP arrays was susceptible to predictable hash collisions. If an HTTP POST request to a PHP application contained many parameters whose names map to the same hash value, a large amount of CPU time would be consumed. This flaw has been mitigated by adding a new configuration directive, max_input_vars, that limits the maximum number of parameters processed per request. By default, max_input_vars is set to 1000. (CVE-2011-4885)
A use-after-free flaw was found in the PHP substr_replace() function. If a PHP script used the same variable as multiple function arguments, a remote attacker could possibly use this to crash the PHP interpreter or, possibly, execute arbitrary code. (CVE-2011-1148)
An integer overflow flaw was found in the PHP exif extension. On 32-bit systems, a specially-crafted image file could cause the PHP interpreter to crash or disclose portions of its memory when a PHP script tries to extract Exchangeable image file format (Exif) metadata from the image file. (CVE-2011-4566)
An insufficient input validation flaw, leading to a buffer over-read, was found in the PHP exif extension. A specially-crafted image file could cause the PHP interpreter to crash when a PHP script tries to extract Exchangeable image file format (Exif) metadata from the image file. (CVE-2011-0708)
An integer overflow flaw was found in the PHP calendar extension. A remote attacker able to make a PHP script call SdnToJulian() with a large value could cause the PHP interpreter to crash. (CVE-2011-1466)
A bug in the PHP Streams component caused the PHP interpreter to crash if an FTP wrapper connection was made through an HTTP proxy. A remote attacker could possibly trigger this issue if a PHP script accepted an untrusted URL to connect to. (CVE-2011-1469)
An off-by-one flaw was found in PHP. If an attacker uploaded a file with a specially-crafted file name it could cause a PHP script to attempt to write a file to the root (/) directory. By default, PHP runs as the "apache" user, preventing it from writing to the root directory. (CVE-2011-2202)
Red Hat would like to thank oCERT for reporting CVE-2011-4885. oCERT acknowledges Julian Wälde and Alexander Klink as the original reporters of CVE-2011-4885.
All php users should upgrade to these updated packages, which contain backported patches to resolve these issues. After installing the updated packages, the httpd daemon must be restarted for the update to take effect.
Create Date: 2012-01-18 Last Update Date: 2012-01-18

Affected Platforms/Products

Affected Products (CPE + CVE references)
Platforms: unix (from OVAL definitions)
  • Red Hat Enterprise Linux 5

References

Criteria

The patch should be installed
IF : All of the following are true
IF : Red Hat Enterprise Linux 5 is installed
Linux : RPM Test :  Red Hat Enterprise Linux 5 is installed 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20030315001 (Object depth limit may be exceeded) !!!
version pattern match ^5[^\d]
linux : rpminfo_state 
IF : Any one of the following are true
IF : All of the following are true
IF : php-xmlrpc is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-xmlrpc is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20050032012 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : php-xmlrpc is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-xmlrpc is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20050032012 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : php-xml is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-xml is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082020 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : php-xml is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-xml is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082020 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : php-soap is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-soap is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082008 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : php-soap is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-soap is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082008 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : php-snmp is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-snmp is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20050032010 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : php-snmp is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-snmp is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20050032010 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : php-pgsql is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-pgsql is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392007 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : php-pgsql is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-pgsql is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392007 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : php-pdo is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-pdo is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082014 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : php-pdo is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-pdo is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082014 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : php-odbc is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-odbc is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392008 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : php-odbc is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-odbc is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392008 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : php-ncurses is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-ncurses is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20050032014 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : php-ncurses is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-ncurses is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20050032014 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : All of the following are true
IF : php-mysql is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-mysql is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392006 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : php-mysql is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-mysql is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392006 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : All of the following are true
IF : php-mbstring is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-mbstring is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20050032013 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : php-mbstring is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-mbstring is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20050032013 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : All of the following are true
IF : php-ldap is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-ldap is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392005 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : php-ldap is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-ldap is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392005 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : All of the following are true
IF : php-imap is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-imap is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392004 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : php-imap is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-imap is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392004 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : All of the following are true
IF : php-gd is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-gd is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20050032015 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : php-gd is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-gd is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20050032015 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : All of the following are true
IF : php-devel is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-devel is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392003 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : php-devel is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-devel is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392003 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : All of the following are true
IF : php-dba is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-dba is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082004 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : php-dba is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-dba is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082004 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : All of the following are true
IF : php-common is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-common is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082005 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : php-common is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-common is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082005 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : php-cli is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-cli is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082010 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : php-cli is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-cli is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082010 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : php-bcmath is signed with Red Hat redhatrelease key
Linux : RPM Test :  php-bcmath is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082006 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 
IF : php-bcmath is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php-bcmath is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070082006 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : php is earlier than 0:5.1.6-27.el5_7.4
Linux : RPM Test :  php is earlier than 0:5.1.6-27.el5_7.4 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392002 (Object depth limit may be exceeded) !!!
RPM Version less than 0:5.1.6-27.el5_7.4 (datatype=evr_string)
linux : rpminfo_state 
IF : php is signed with Red Hat redhatrelease key
Linux : RPM Test :  php is signed with Red Hat redhatrelease key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040392002 (Object depth limit may be exceeded) !!!
signature_keyid equals 5326810137017186
linux : rpminfo_state 

Quick Help

evr_string datatype
Represents epoch, version, and release number as a single version string
Other Help Topics
Data Types
What is an Object?
What is a State?
What is a Test?
Other Help Topics
Regular Expression Patterns
Some object or state definitions are defined as regular expression patterns, you should interpret the regexp pattern while evaluating them.

OVAL Definitions By Referenced Objects

How does it work?   User agreement and privacy statement   About & Contact
CVE is a registred trademark of the MITRE Corporation and the authoritive source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritive source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritive source of OVAL content is MITRE's OVAL web site.
Warning: This site and all data are provided as is. It is not guaranteed that all information is accurate and complete. Use any information provided on this site at your own risk. By using this site you accept that you know that these data are provided as is and not guaranteed to be accurate, correct or complete. All trademarks appearing on this site are the property of their respective owners in the US or other countries. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss. PLEASE SEE nvd.nist.gov and oval.mitre.org for more details about OVAL language and definitions.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor/web site owner/maintainer be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Use of OVAL and all related data is subject to terms of use defined by Mitre at http://oval.mitre.org/oval/about/termsofuse.html